Tuesday, October 26, 2010

Uninitialized constant MysqlCompat::MysqlRes

Note: I'm using Mac OS X Version: 10.6.3
 
Open the Terminal.
First removed all mysql gems:
  • gem uninstall mysql
After removing the mysql gem run the following:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

No comments:

Post a Comment