How to do Ruby development on your OS X box without going mad: the terse guide, mark 2.
Sick of rvm? Yeah, everybody else is too.
One. As before, install homebrew and pow
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"curl get.pow.cx | sh
Two. Install rbenv and some supporting tools.
brew install rbenv rbenv-gemset ruby-build
If you have previously installed rvm, remove its setup from your profile. Replace it with this line:
eval "$(rbenv init -)"
Source the file.
Three. Build a ruby and set it up for use with rbenv:
rbenv install 1.9.2-p290
Four. Tell rbenv to use whatever you just installed as a default:
rbenv global 1.9.2-p290
Five. Install gems as needed.
gem install bundlerrbenv rehashwhich bundlebundle install
Six. Optionally, use rbenv-bundler to make rbenv create shims for bundler-installed gems.