- You installed
rbenv
andruby-build
viahomebrew
. - (Optional) You are listening to Ke$ha.
- Open a terminal.
curl https://gist.githubusercontent.com/prsimp/4567288/raw/upgrade_it.sh | sh
- Drink some coffee or do something while Ruby compiles.
- Profit!
- Updates your
homebrew
formulae - Upgrades
ruby-build
- Installs
ruby 2.1.1
and sets it as your default global Ruby (aren't we presumptious!) - Installs the
bundler
andrails
gems globally.