- Go to https://connect.apple.com;
- Login with your Apple account credentials;
- Search for "command line tools"
- Find it in the results, download it and install it;
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install git
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
rvm autolibs enable
rvm install 1.9.2
rvm use 1.9.2 --default