Install the Postgres App (http://postgresapp.com/)
Then install the gem with custom config path:
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config
Nice! This may well be the only way to get pg working on a vanilla Yosemite install, since homebrew's postgres can't find tcl, which requires gcc, which won't compile.
Hmm, this isn't working for me. If you get a chance can you help me out at:
Thanks man. This worked for me.
Thanks a ton. I was losing my mind over this.
Thanks! Appreciate this!