An error occurred while installing pg (0.17.1), and Bundler cannot continue

Some kind of error resported here Installing PG gem on OS X – failure to build native extension

To install dependencies on Ubuntu try this:

sudo apt-get install libpq-dev

and this

gem install pg

Leave a Comment