Reputation: 2386
env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config
works but when I try to run bundle install it throws this error
Can't find the PostgreSQL client library (libpq)
Upvotes: 1
Views: 667