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
Written by Clayton McIlrath
Related protips
5 Responses
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/4240/e6c6e133e74c3b83f04d2861deaa1c20.png)
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
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/27290/be74fd9a577ea5ef1ab2e7c71bcfa4b5.jpeg)
Thanks man. This worked for me.
over 1 year ago
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/118976/none.jpg)
Thanks a ton. I was losing my mind over this.
over 1 year ago
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/86208/616a1317e7c3cf9f7f108f1ea32e1ce6.jpeg)
Thanks! Appreciate this!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#