env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config
有效,但是当我尝试运行 bundle install 时,它会引发此错误
Can't find the PostgreSQL client library (libpq)
env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config
有效,但是当我尝试运行 bundle install 时,它会引发此错误
Can't find the PostgreSQL client library (libpq)