Read more

Ubuntu: Fix "An error occurred while installing pg"

Henning Koch
September 11, 2014Software engineer at makandra GmbH

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.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Then do this:

sudo apt-get install libpq-dev

... and run Bundler again.

Posted by Henning Koch to makandra dev (2014-09-11 11:57)