# Ruby on Rails setup not working - newbie help

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-setup-not-working-newbie-help/115556>\
**Category:** Rails\
**Created:** [September 26, 2007, 7:34am UTC](https://www.ruby-forum.com/t/ruby-on-rails-setup-not-working-newbie-help/115556 "2007-09-26T07:34:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@bruce](https://www.ruby-forum.com/u/bruce)\
**Post date:** [September 26, 2007, 7:34am UTC](https://www.ruby-forum.com/t/ruby-on-rails-setup-not-working-newbie-help/115556/1 "2007-09-26T07:34:56Z")

</div>

Hello all,  
I’m hoping someone can help me with this problem. This is  
definitely a newbie question as this is the case where the very first  
program of mine in RoR is not working. I downloaded Ruby, Ruby Gems  
and Rails from the [rubyonrails.org](http://rubyonrails.org) site. I run Windows Vista. The  
starter page of index.html did work but that’s it.  
I have Ruby version 1.8.6, Gem version 0.9.4 and Rails version  
1.2.3 I created an application called my\_app by entering the console  
command rails my\_app and this was done from the folder www/webroot  
(note, I use path representations of www/webroot or www\>webroot to  
mean the same thing). This is the Apache server root folder which I  
use with PHP/MySQL, etc. I can use the server for Rails by typing :  
ruby server and that starts WeBrick.  
Then if I enter [http://localhost:3000/](http://localhost:3000/) I get the index.htm page which  
is in my\_app/public/ I can also get that page to load using  
[http://localhost/my\_app/public/](http://localhost/my_app/public/)  
The problem with that file is that it has a link for My  
application environment that looks for rails/info/properties and  
cannot find it. There is no such folder of rails in the application  
folder my\_app that I just mentioned.  
Then the tutorial goes on to create the first application in  
RoR a Hello, World page. This is done by going to the Windows Console  
and from the my\_app/scripts/ folder entering ruby generate controller  
say.  
This creates two folders. 1) in the folder my\_app\>app\>controllers  
there is the file say\_controller.rb  
2) In the folder my\_app\>app\>views\> there is a folder say for the  
template/view file and that file will become hello.rhtml  
Now, on the instructors system and in his browser he enters  
[http://localhost:3000/say/hello/](http://localhost:3000/say/hello/)  
And it comes up with a page that says in the body Hello, World.  
With the WeBrick browser running on my system I enter the same webpage  
and get a http 404 error page with the message “The Webpage cannot be  
loaded”  
Can someone help me with this, please? Any tips?  
Thanks,  
Bruce

---

<div class="post-metadata">

**Author:** ![bruce](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@bruce](https://www.ruby-forum.com/u/bruce)\
**Post date:** [September 26, 2007, 11:10am UTC](https://www.ruby-forum.com/t/ruby-on-rails-setup-not-working-newbie-help/115556/2 "2007-09-26T11:10:45Z")

</div>

Just checking you should have:

app/controllers/say\_controller.rb  
app/views/say/hello.rhtml

Is that correct?

---

<div class="post-metadata">

**Author:** ![bruce](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@bruce](https://www.ruby-forum.com/u/bruce)\
**Post date:** [September 26, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-setup-not-working-newbie-help/115556/3 "2007-09-26T16:38:44Z")

</div>

Hi Bruce

I have found that the one-click installer for windows (rubt/rails/  
apache/mysql) works pretty well.  
Check it out.
