Install and configure [ruby-install] and [chruby] and build the latest Ruby and JRuby:
curl -fsSL https://gist.github.com/havenwood/5820213/raw/install.sh | sh
Or if you prefer, paste the install.sh script below in your Terminal.
- OS X
- Homebrew