I am trying to create a new application on Mac OSX Leopard with MySql
instead of Sqlite3, and I am having loads of trouble. I have
installed mysql and I can connect properly through mysql -u root -p.
I have also installed the MySQL C bindings for Ruby through: sudo env
ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/
However, when I crate a new rails application with:
rails -d mysql myapp
And then I run rake db:migrate. I get:
The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql
I have already installed the gem as outlined above, and it is still
not working. Am I missing a configuration change somewhere? My
database.yml file is set properly ... cannot figure this out for the
life of me. Somebody please help!