Almost certainly requires XCode and probably requires a functioanal Homebrew? This needs tons more testing.
For RVM on OSX, see: https://rvm.io/rvm/install/
\curl -L https://get.rvm.io | bash -s stable --ruby
rvm ruby --version # Returns 1.9.3-p286
git clone git://github.com/rapid7/metasploit-framework # Even better, fork and clone.
cd metasploit-framework
bundle install # Needed for rspec and some activerecord stuff, mainly.
Start here: http://www.enterprisedb.com/products-services-training/pgdownload#osx Note that this will often will need a reboot after changing shared memory prefs.
It's an old one… now msf works with ruby 2.1.6