rails install pg - Can't find the 'libpq-fe.h header
Just make this
$ sudo apt-get install libpq-dev
This is answered in Can't find the 'libpq-fe.h header when trying to install pg gem
Depending on your environment:
- Mac:
brew install postgresql
- Ubuntu:
sudo apt-get install libpq-dev
- RHEL:
yum install postgresql-devel
Then run gem install pg
again
Try this:
- brew install postgresql
- gem install pg
- bundle install