Error in loading WEBrick server on Windows

9 views
Skip to first unread message

Alejandro Barrero

unread,
Sep 14, 2015, 7:11:53 AM9/14/15
to Ruby on Rails: Talk
I am at the beginning of the book "Ruby on Rails 3 Tutorial"; In section 1.2.5 I am trying the command "rails server", but I am getting a very strange error:

Usage:
  rails new APP_PATH [options]

Your help will be greatly appreciated,
Alejandro Barrero

Colin Law

unread,
Sep 14, 2015, 8:22:27 AM9/14/15
to Ruby on Rails: Talk
On 14 September 2015 at 12:06, Alejandro Barrero <handr...@gmail.com> wrote:
> I am at the beginning of the book "Ruby on Rails 3 Tutorial"; In section
> 1.2.5 I am trying the command "rails server", but I am getting a very
> strange error:
>
> Usage:
> rails new APP_PATH [options]

Which directory are you running the command from? You should run it
from the root of your rails application (that is the folder containing
subfolders app, config etc).

Colin

>
> Your help will be greatly appreciated,
> Alejandro Barrero
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/23ba3da2-bef5-43ce-a0af-cae46e817591%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages