Ruby gem mysql2 for MAMP

June 10, 2012
env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql2 --
--with-mysql-config=/Applications/MAMP/Library/bin/mysql_config