Last Updated: February 25, 2016
·
5.268K
· thinkclay

Postgres on Yosemite

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

5 Responses
Add your response

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.

over 1 year ago ·

Hmm, this isn't working for me. If you get a chance can you help me out at:
https://github.com/PostgresApp/PostgresApp/issues/200

over 1 year ago ·

Thanks man. This worked for me.

over 1 year ago ·

Thanks a ton. I was losing my mind over this.

over 1 year ago ·

Thanks! Appreciate this!

over 1 year ago ·