Last Updated: December 01, 2021
·
320
· pitchinvasion

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