1. Install the package installer homebrew.
  2. Install a newer version of Ruby than the one that comes with MacOS. This is a nice tutorial for installing ruby. You'll end up with RVM, XCode, and eventually Ruby version 1.9.2.
  3. Install Capistrano:
    gem install capistrano -v2.15.5
    gem install capistrano-ext