Skip to content

Instantly share code, notes, and snippets.

@ryan-allen
Created June 16, 2009 04:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryan-allen/130539 to your computer and use it in GitHub Desktop.
Save ryan-allen/130539 to your computer and use it in GitHub Desktop.
# install the mysql gem on os x, when you have apple's ruby but macport's mysql:
sudo env ARCHFLAGS="-arch i386" gem install mysql -- \
--with-mysql-dir=/opt/local --with-mysql-lib=/opt/local/lib/mysql5/mysql \
--with-mysql-include=/opt/local/include/mysql5/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment