I downloaded Ruby(Version:1.8.2-15) from
http://apacheguide.org/ruby.php and followed the instruction given
there. Everything went fine till creating the Rails application. But
when I ran the command ruby "C:\Program Files\Apache
Group\Apache2\htdocs\myfirstapp\script\server" ,I get an error. Iam
unable to start WEBrick HTTP server. But on the other hand when I click
Iam able to start the WEBrick HTTP server. I could see the port number
as 8808. so I just went to the browser and type http://localhost:8808 I
don't get "congrulations,you've put ruby on rails" rather I get
"RubyGems Documentation Index".
Iam using apache 1.3.29 version.
Added the below set of lines to hhtp.conf
1)I added LoadModule fastcgi_module modules/mod_fastcgi.dll
2)I added AddModule mod_fastcgi.c
Options ExecCGI FollowSymLinks
Allow from all
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
Afer doing this and when I type http://localhost/ I get "Welcome aboard
You’re riding the Rails! Getting started Here’s how to get rolling:"
Iam not sure how to proceed next. Can anyone suggest me if iam in the
right direction and where I gone wrong.
Change your directory to "C:\Program Files\Apache Group\Apache2\htdocs\myfirstapp" then try running "ruby script/server".