Thursday, November 21, 2013

Re: [Rails] Re: #5 Getting Up and Running

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@gmail.com> 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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate