On Sep 17, 10:23 am, maddy <[email protected]> wrote:
> Hi,
>
>    I am learning Ruby on Rails and using a book as a guide. I am stuck
> at a particular chapter on Rails, where I am unable to start the
> Webrick server. But before going into the problem, let me give you a
> brief on the setup of Ruby on Rails in my system.
>
>   I have installed RoR ( I have installed InstantRails-2.0-win.zip.
> downloaded fromhttp://instantrails.rubyforge.org.) set up in 'D'
> directory and the path is something like D:\RoR. I had created a
> folder D:\rails_projects where I had setup an application skeleton
> using the command (@command prompt),
>
>    D:\rails_projects>rails MyProj
>
>  This had created the application skeleton where the standard rails
> application directories were created.
>
>   Now, my problem is that, in the book it had mentioned that I can
> start the server by typing command,
>
>   ruby script/server Webrick
>
>   But I am receiving this message ----- > ruby: No such file or
> directory -- script/server (LoadError)
>
>   I believe I am at wrong directory location when I am giving this
> command. Can anybody let me know which directory location, I should be
> at when i am giving this command?
>
>   I hope I am being clear in stating my problem, but if I have missed
> anything or if more clarification is needed, please let me know.

I think you need to type "cd MyProj" before typing "ruby script/server
Webrick".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to