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
Written by David Paluy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#