I am trying to set up a Ruby on Rails project by following the instructions on their website. I am using MySQL database. When I try to create a project using the rails -d mysql demo command. I just get the default usage: instructions. Something like below…
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
# Default: sqlite3
I am not sure what is the correct syntax based on --database?
I am using the instructions on this site, is it something related to version? I am using Rails 3.0.3
I suggest doing the following.
Edit
For a detailed tutorial I suggest This Tutorial from railstutorial.org