Cannot install pg gem in Mavericks with Postgres.app

后端 未结 8 1658
灰色年华
灰色年华 2020-12-02 04:16

I am trying to install the pg gem for use with Postgres.app on my local machine. I am running Mavericks.

Postgres.app is installed and running fine, but I cannot get

8条回答
  •  庸人自扰
    2020-12-02 04:59

    I was able to install pg with this command

        gem install pg -- --with-pg-config=/Library/PostgreSQL/9.3/bin/pg_config
    

    I found my path by running

        sudo find / -name "pg_config"
    

    and I Successfully installed pg-0.17.1

提交回复
热议问题