I had the same problems. I resolved them by completely uninstalling MySQL, reinstalling the 64-bit version and installing the mysql2 stone with parameters indicating the installation of MySQL.
I followed some instructions that I found at petermac.com :
1. Uninstall MySQL :
sudo rm /usr/local/mysql sudo rm -rf /usr/local/mysql* sudo rm -rf /Library/StartupItems/MySQLCOM sudo rm -rf /Library/PreferencePanes/My* edit /etc/hostconfig and remove the line MYSQLCOM=-YES- sudo rm -rf /Library/Receipts/mysql* sudo rm -rf /Library/Receipts/MySQL*
2. Installing the version of 64-bit MySQL
3. Install mysql2 gem
sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 -- \ --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \ --with-mysql-include=/usr/local/mysql/include
This should at least set the stone :)
jumoel
source share