Chris Bailey's blog had the quick answer for how to install the mysql gem in MacOS when you're using the macports mysql:
sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
No comments:
Post a Comment