Error installing pg gem on osx

后端 未结 10 977
Happy的楠姐
Happy的楠姐 2020-12-24 15:38

I am on osx 10.6.7 trying to run bundle install on a new rails 3.0.7 app and it keeps failing when trying to build the pg gem. It keeps telling me that I have need the devel

10条回答
  •  梦谈多话
    2020-12-24 16:14

    The simple solution:

    1. run brew install postgresql
    2. install the gem with sudo permissions: like so: sudo gem install pg -v '0.17.1'

提交回复
热议问题