Keep getting the attached error when trying to install metasploit dependant gems on OS X EL Capitan. Have tried reinstalling postgres etc, not sure how to fix this is issue.
An error occurred while installing pg (0.18.4), and Bundler cannot continue.
Make sure that `gem install pg -v '0.18.4'` succeeds before bundling.