
How to Setup Rails Environment on Mac OS X
All of these steps need to be performed from the Mac terminal.
Install Homebrew
Paste these on the mac terminal and follow further instructions
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install git
brew install git
Install RVM
\curl -sSL https://get.rvm.io | bash -s stable
Install Ruby
rvm install 2.1.0
Install MySQL
brew install mysql