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