I will explain 2 ways, how you can install Git on Mac OS X Way 1 The simplest and easiest way is to do it with Homebrew. If you haven’t Homebrew installed yet, do it this way: Install Homebrew
So, this is an additional installation post which you need to install Rails 3.2 on your system. If you have MacPorts installed, deinstall it as follows:
sudo port -f uninstall installed
sudo rm -rf \
Then install Homebrew as follows:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
run the brew doctor to see