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/
local/mysql/bin/mysql_config.

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!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to