views:

110

answers:

1

I try to install Rails 3 on Windows 7, and

rails new someapp -d mysql
cd someapp
bundle install

will fail at mysql2

so, there is no way to use MySQL but to stick with SQLite3. But I tried

rails new app_postgres -d postgresql
cd app_postgres
bundle install

and it all worked.

Does that mean perhaps Rails team favor Postgresql slightly more than MySQL? Is there actually a way to make Rails 3 use the old mysql gems instead so that it can work on Windows or can you somehow make it work, such as by downloading the free Visual Studio and compile mysql2 ourselves?

+1  A: 

Working on it For now you can use sqlite for development.

NARKOZ
can we use any old mysql gem or driver for now and use MySQL?
動靜能量
Yes, you can use old mysql gem. It should work.
NARKOZ
then maybe... Rails on Windows can default to mysql gem initially... just so that it runs at least...
動靜能量