Ruby gem mysql2 for MAMP

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