#5 Getting Up and Running

create a controller called PostsController. You can do this by running
this
command:

$ rails g controller posts

That results in an error.

rails g controller posts
Usage:
rails new APP_PATH [options]

Options:

What am I missing?

On Thursday, November 21, 2013 3:46:12 AM UTC, Garrett S. wrote:

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

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 C. <