Created
September 10, 2009 20:32
-
-
Save somebox/184801 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== Snow Leopard, Ruby and MySQL | |
I was finally able to get the mysql 2.8.1 gem after a snow leopard upgrade. After trying many different builds, 64 vs. 32, etc, I ended up: | |
- removing the existing mysql bundle | |
$ sudo rm /Library/Ruby/Site/1.8/universal-darwin10.0/mysql.bundle | |
- installing 64-bit mysql 5.0 from the .dmg download | |
- building the gem with this command: | |
$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment