Help with error "ruby: No such file or directory -- script/server <LoadError"

2,590 views
Skip to first unread message

Ravi

unread,
Sep 17, 2010, 5:44:37 PM9/17/10
to RubyInstaller
Hi,
I am new to Rails and I am trying to install Ruby on Rails to
start learning it. I downloaded Ruby and installed it and installed
gems using the command

"gem install rails"

I then installed SQLite 3 and intalled that gem too.

Now I created an application called tickets by executing the command

"rails tickets"

Now I executed "cd tickets" to enter the directory and when I execute

"ruby script\server"

to start the web application I get this:

"ruby: No such file or directory -- script/server <LoadError>"

Can someone please help me with this....

Thanks,
Ravi.

Luis Lavena

unread,
Sep 18, 2010, 5:42:10 PM9/18/10
to rubyin...@googlegroups.com

You installed Rails 3, which no longer have script/server.

Please read the Rails 3 documentation and guides.

http://guides.rubyonrails.org/
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Reply all
Reply to author
Forward
0 new messages