Ubuntu: Fix "An error occurred while installing pg"

Updated . Posted . Visible to the public.

If you get an error like this:

An error occurred while installing pg (0.17.1), and Bundler cannot continue.
Make sure that gem install pg -v '0.17.1' succeeds before bundling.

Then do this:

sudo apt-get install libpq-dev

... and run Bundler again.

Henning Koch
Last edit
Judith Roth
Keywords
postgres, postgresql, pgql, pg_config
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2014-09-11 09:57)