i have just installed RoR. when i create a new rails project use the
command “rails test” without any options, the default database setting
is sqlite3 in my computer. the default should be MySQL, is anything i
did wrong?
how do i fix it?
i have just installed RoR. when i create a new rails project use the
command “rails test” without any options, the default database setting
is sqlite3 in my computer. the default should be MySQL, is anything i
did wrong?
how do i fix it?
The new default is SQLite. This is a really recent change, so if
you’re following nearly any book in print or an older online article,
it will say MySQL.
To change it, you can use the -d option.
rails your_app -d mysql
–Jeremy
On Feb 3, 2008 1:53 AM, Ruby N. [email protected] wrote:
i have just installed RoR. when i create a new rails project use the
command “rails test” without any options, the default database setting
is sqlite3 in my computer. the default should be MySQL, is anything i
did wrong?how do i fix it?
–
http://www.jeremymcanally.com/
My books:
Ruby in Practice
My free Ruby e-book
My blogs:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs