279aqg
Last Updated: February 25, 2016
·
628
· dpaluy
3129de6b479cc965513311f1ddcc268a

Install pg gem with Postgres.app

If you have the following error while installing gem "pg":

Can't find the 'libpg-fe.h' extconf.rb failed

etc...

Run this:

gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config

Where 9.4 is your PostgreSQL version

Say Thanks
Respond