Rails - Gem Error while installing pg (1.1.3), and Bundler cannot continue

后端 未结 3 1228
北恋
北恋 2021-01-12 13:17

I am still fairly new to Rails. I am trying to push to Heroku and I am getting errors

The first error is when I run a Bundle Install I get this error message

3条回答
  •  独厮守ぢ
    2021-01-12 14:01

    I had the exact same problem, and solved it by running sudo apt install postgresql-contrib libpq-dev. Then bundle worked just fine.

提交回复
热议问题