MySQL Gem on Leopard

Published: 05 Dec 2007

If you're running the Leopard Mac OS, you'll need the following command to properly install the MySQL gem:

sudo env ARCHFLAGS="-arch i386" gem install mysql -- \

This page also has some good information that tries to answer questions regarding Ruby and OS X.