Upgrade to ruby 2.x on Mac OS X with rbenv & homebrew
brew update
brew upgrade
brew should upgrade ruby-build
rbenv rehash
rbenv install 2.0.0-p0
cd to project
vim .rbenv-version
change line from 1.9.3-x to 2.0.0-p0
ruby -v
should return 2.0.0
gem -v
should return 2.0.0
gem install bundler
bundle update
try new stable version of ruby ;)
Written by Alexey Cherednikov
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#