I am facing pg gem issue for my Rails project on bundle install and it is using using ruby-2.2.2 and rails (4.2.0) on Macbook. I am getting the following error:
An error occurred while installing pg (0.18.3) and Bundler cannot continue.
Can anyone assist how it can be fixed?
Asked
Active
Viewed 411 times
0
Faisal Raza
- 1,129
- 1
- 9
- 16
-
Please add error in question – Vishal Jan 24 '19 at 11:43
1 Answers
0
I resolved it on my Macbook by installing libpqxx using below command:
brew install libpqxx
On Ubuntu, you can run below command to fix this issue:
sudo apt-get install libpq-dev
Faisal Raza
- 1,129
- 1
- 9
- 16