Mac OS X is bundled with ruby and rails, however they are not up-to-date.
- ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
- Rails 2.3.5
I also found it useful to install sqlite3: sudo port install sqlite3
Run: bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )
Place the following line in your ~/.profile:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
For exploring RVM, run: rvm list known
To update ruby run the following
- rvm install 1.9.2
- rvm system
- rvm gemset export system.gems #export your existing gems
- rvm 1.9.2
- rvm gemset import system #import gems