ERROR: Failed to build gem native extension on Mavericks

后端 未结 11 1016
梦如初夏
梦如初夏 2020-11-29 07:43

I\'m attempting to run bundle in my Rails project on OSX 10.9. It fails when getting to the pg gem with this error:

Gem::Installer:         


        
11条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 08:27

    this worked for me with Mavericks and the Postgresapp:

    gem install pg -v '0.17.0' -- --with-pg-config=/Applications/Postgres93.app/Contents/MacOS/bin/pg_config
    

提交回复
热议问题