Last Updated: February 25, 2016
·
291
· kingscooty

Installing Ruby 2.0.0 with RVM

I found installing Ruby 2.0.0 on OSX Mountain Lion a bit of a nightmare - errors were being thrown everywhere. Openssl wasn't playing nice with rubygems etc.

The following should give you an error free Ruby 2.0.0 install experience :)

rvm get stable

brew update

brew install libyaml
brew install pkg-config 
brew install libxml2 
brew install libxslt

brew install openssl
brew link openssl --force

brew install sqlite

brew install apple-gcc42

rvm install 2.0.0 --with-gcc=gcc-4.2

boom :)