Update Ruby Version to 2.x.x using RVM on OS X
Update RVM
rvm get stable
Update homebrew
sudo brew update
Install all requirements for ruby 2.x.x to work using rvm requirements command
sudo rvm requirements
List all latest ruby version and remember ruby version that you want to install
rvm list known
Install ruby 2.x.x (change 2.0.0-p195 with desired ruby version)
rvm install 2.0.0-p195
List all installed ruby
rvm list
If the current/default ruby version isn't version you just installed, set it using
rvm use 2.0.0-p195 --default
Written by Adi Nugroho
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#