or maybe you missed a step...
creating a rails app... with the command
rails new [app_name]
that creates your aplication directory called [app_name]
inside this directory that you run all the others steps...
On Thu, Nov 21, 2013 at 8:54 PM, Frederick Cheung <
frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> On Thursday, November 21, 2013 3:46:12 AM UTC, Garrett Smith wrote:
>>
>> $ rails g controller posts
>>
>> That results in an error.
>>
>> >rails g controller posts
>> Usage:
>> rails new APP_PATH [options]
>>
>> Options:
>>
>> What am I missing?
>>
>
> It looks like your current directory is not a rails app - cd to the right
> place before running rails g controller ...
>
> Fred
>
> --
> 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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/rubyonrails-talk/5995d7d0-cd82-4d54-b24a-e0cfcd3f0faf%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
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-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CANPOtXu2HNfGJ_UZqwCwC5W3j5fM4YG31NRY3Sw%2B9DM4uXTOeA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.