Skip to content

Instantly share code, notes, and snippets.

@sime
Created January 9, 2013 02:23
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 sime/4490017 to your computer and use it in GitHub Desktop.
Save sime/4490017 to your computer and use it in GitHub Desktop.
Build native MySQL gem extension when using MacPorts
$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 -- --with-mysql-config=/opt/local/lib/mysql55/bin/mysql_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment