Wanting to check out the shiny new Rails 5.0, I bumped into an error saying I need to upgrade my Ruby version to a minimum 2.0.0 (my current version being 2.1.3). I use RVM to manage Rubies on my OSX, so I tried the good ol'
rvm install ruby --latest
Already installed ruby-2.1.3.
rvm known list
Install RVM from scratch
1) First remove the current version, see: http://stackoverflow.com/a/3558763/1076207
# use sudo at your own discretion rvm implode --force gem uninstall rvm rm -rf ~/.rvm # open file vim ~/.bash_profile # remove lines: # [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # close file
2) Follow the directions on the RVM install page: https://rvm.io/rvm/install