Skip to content

Instantly share code, notes, and snippets.

@jerome
Created May 29, 2009 11:13
Show Gist options
  • Select an option

  • Save jerome/119901 to your computer and use it in GitHub Desktop.

Select an option

Save jerome/119901 to your computer and use it in GitHub Desktop.
# Installing ruby mysql gem in OSX 10.5 (Leopard)
$ sudo gem install mysql -- --with-mysql-config=`which mysql_config`
$ sudo install_name_tool -change /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib /usr/local/mysql/lib/libmysqlclient.15.dylib /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment