Skip to content

Instantly share code, notes, and snippets.

@groman-me
Created August 2, 2012 09:10
Show Gist options
  • Save groman-me/3235690 to your computer and use it in GitHub Desktop.
Save groman-me/3235690 to your computer and use it in GitHub Desktop.
Install REE and 1.9.3 on Mountain Lion
http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-guide-to-riding-a-mountain-lion
REE
======
https://rvm.io/packages/iconv/
rvm pkg install iconv
export CPPFLAGS=-I/opt/X11/include
rvm reinstall ree --with-iconv-dir=$rvm_path/usr
gem uninstall nokogiri
gem install nokogiri -v '1.5.0'
1.9.3
======
brew update
then install a newer version of libiconv
brew install libiconv
then link your new iconv libs:
brew link libiconv
then install your gem
gem install nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.XX
# replace mysql owner if need
sudo chown -RL mysql:mysql /usr/local/mysql/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment