Somewhere between happy and total f**king wreck
MySQL ruby gem with 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
This worked for me with mysql installed via macports by the command:
sudo port install mysql5 +server
Source: Code Intensity
| Print article | This entry was posted by Shane on June 13, 2008 at 4:24 pm, and is filed under OSX, Programming, Rails. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |