RVM and your default Ruby version
When installing a new development machine, Homebrew is the way to go to set up your development environment.
No need to worry about complex installations and PATH settings. Just do a
and let it do it’s thing. Homebrew is quite good at that.
For more info on Homebrew, visit the github wiki.
RVM (Ruby Version Manager) on the other hand is your wepaon of choice for installing one or more Ruby versions on your computer. You can easily switch between different versions.
Installing a new version is as simple as doing
Using a version:
One thing to remember is setting the default Ruby version through RVM. Otherwise your system will fall back on the default Ruby installation which will result in unwanted behaviour.