Skip to content

Instantly share code, notes, and snippets.

@teeparham
Created September 30, 2010 03:43
Show Gist options
  • Save teeparham/603984 to your computer and use it in GitHub Desktop.
Save teeparham/603984 to your computer and use it in GitHub Desktop.
64-bit upgrade: rebuild ruby 1.9.2, mysql, and gems that need a rebuild
rvm uninstall 1.9.2
rvm remove 1.9.2
rvm install 1.9.2 -C --with-readline-dir=/opt/local,--build=x86_64-apple-darwin10
gem uninstall mysql
env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
gem pristine --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment