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

后端 未结 3 1233
北恋
北恋 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:10

    try instaling with pg-config like this:
    gem install pg -v 1.1.3 -- --with-pg-config=/usr/pgsql-9.X/bin/pg_config.

    In pg-config path mention the posgtres version installed in you're system.

提交回复
热议问题