OSX Leopard mysql gem for ruby 21 Nov 2007
If you install mysql from ports then you can install the mysql ruby bindings in the following manner:

sudo su

ARCHFLAGS='-arch i386' gem install -r mysql -- \
   --with-mysql-include=/opt/local/include/mysql5/mysql/ \
   --with-mysql-lib=/opt/local/lib/mysql5/mysql/

If you don’t use ports then check out “http://nullcreations.net/entry/installing-ruby-mysql-gem-in-osx-10-5-leopard”:http://nullcreations.net/entry/installing-ruby-mysql-gem-in-osx-10-5-leopard


blog comments powered by Disqus