Install PostgreSQL gem on a mac
This assumes you're using the http://postgresapp.com/ (which you should be)
env ARCHFLAGS="-arch x8664" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pgconfig
Written by Leo Allen
Related protips
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#