The Passionate Craftsman

Ruby, PHP, MySql, Software engineering and more.

Tuesday, 24 November 2009

How to install mysql gem on Mac

Download and install the x86 version of MySql, the run the following command:

sudo env ARCHFLAGS="-arch i386" gem install mysql -- \
--with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \

This should be enough to have the mysql gem installed

Labels: , ,


Post a Comment

Subscribe to Post Comments [Atom]

<< Home