Make sure that `gem install pg -v '0.18.2'` succeeds before bundling.
Mar 272016After updating my Ubuntu from 14.04 to 15.04, I ran across problem running "bundle install". It told me to install the pg gem manually. I did, but I got the error below. To fix the problem, I had to install libpg-dev before running bundle install again.
sudo apt-get install libpq-dev
gem install pg