i_ljhw
Last Updated: February 25, 2016
·
5.033K
· 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

15402

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 ·
15934

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 ·
16299

Thanks man. This worked for me.

over 1 year ago ·
16943

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

over 1 year ago ·
17538

Thanks! Appreciate this!

over 1 year ago ·