Blankman Blankman - 1 year ago 65
Ruby Question

typing 'rails console' doesn't start?

I typed this:

>rails console

and got this:

rails new APP_PATH [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 Source

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

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download