Ask A Question

Notifications

You’re not receiving notifications from this thread.

Facing error while installing bundle

Jahnavi Jonnalagadda asked in General

Hi There,
I'm facing an issue while installing bundle, below is the error message -

An error occurred while installing pg (1.2.3), and Bundler cannot continue.
In Gemfile:
pg

Could you please help resolve this issue.
Thank You!

Reply

I faced the same problem on MacOS as all the postgresql modules were not properly installed.

On Ubuntu:
sudo apt install postgresql-contrib libpq-dev

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,584+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.