PostgreSQL gem pg was unable to install

前端 未结 10 918
孤城傲影
孤城傲影 2021-01-31 09:23

My DB is PostgreSQL.I am on CENTOS.... While installing the pg gem I received the following error. I reinstalled to clear my YAML problem also, which didn\'t work, but it is jus

10条回答
  •  独厮守ぢ
    2021-01-31 09:52

    Try This, the answer is not mine but it worked for me. Remember to point to where your Postgres.app application is:

    bundle config build.pg --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config
    

    Then do

    bundle update
    bundle install
    

提交回复
热议问题