InstantRails 2.0 or higher versions comes with the SQLite3 as the default database,
So a command like this rails my_app will take SQLite3 as the default database for the Rails application.
To use mysql try the following command:
rails -d mysql my_app
extra parameter -d will define database
Get Free Sinhala IT Learning Videos Kuppiya.com
thanks, and here are 2 other way to do it:
ReplyDeleterails my_new_app --database=mysql
or search for the app_generator.rb file in gems, open it and change at the line 11 "sqlite3" with "mysql"