pg_config missing?

Use below command to find the pg_config

$sudo find / -name pg_config

Then run below command for installation of pg gem on Mac

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

Advertisements