Archive for September 2007

Rails MySQL and Leopard

UPDATE:
I didn’t know about the ARCHFLAGS environment variable, this is a less intrusive way (thanks to Sebastian for pointing this out):

sudo su -
ARCHFLAGS=’-arch i386′ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

(sudo su – asks you for your normal password not the root password)
I’m using the stock ruby environment on Leopard and the MySQL Package from http://www.mysql.com.
Unfortunately installing [...]