Topic: ruby script/server


Ihave installed Ruby 1.8.6 and Rails 2.0.2 and when I run *ruby script/server* in the *rubystack* folder WEBrick loads OK etc., but when I try the same in my own development folder it tells me that:
*ruby: No such file or directory -- script/server (LoadError)*

Suspect it's a configuration issue but I cannot work out what it is - any ideas please ...

Thanks in advance.....

Re: ruby script/server

assuming your app is named "myapp", you ran "rails myapp", correct?  can you verify that there is a file named server in myapp/script directory?

Re: ruby script/server

Many thanks for your reply but ... embarrassingly my *script* folder was entirely deleted!!

So, I've copied the *script* folder from the RubyStack project and now all's working again; I can run *ruby script/server* in the *myapp* folder and Mongrel loads OK.

Sorry, but thanks for your posting.  It pointed me in the right direction (as obvious as the answer was)....