MySQL Forums
Forum List  »  Ruby

Re: The bundled mysql.rb driver has been removed from Rails 2.2
Posted by: Ron Bromwell
Date: December 29, 2008 10:06AM

sorry all, I should have done a little more searching before posting. I am on a Mac OS X Leopard.
From the database.yml file:

# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On Mac OS X:
# sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
# On Mac OS X Leopard:
# sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

This fixed my issue.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.