Blankman Blankman - 4 months ago 9
Ruby Question

typing 'rails console' doesn't start?

I typed this:

>rails console


and got this:

Usage:
rails new APP_PATH [options]

Options:
[--skip-gemfile] # Don't create a Gemfile
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
# Default: sqlite3
..
..
.


I'm following along the rails tutorial and got stuck on this.

I have rails 3.0 installed.

Answer

Are you in the root path of your app when you type $ rails console?

Tip: $ rails c is a shortcut for $ rails console