PostgreSQL gem pg was unable to install

前端 未结 10 804
孤城傲影
孤城傲影 2021-01-31 09:23

My DB is PostgreSQL.I am on CENTOS.... While installing the pg gem I received the following error. I reinstalled to clear my YAML problem also, which didn\'t work, but it is jus

10条回答
  •  借酒劲吻你
    2021-01-31 09:33

    Using AWS Cloud 9 Linux:

    sudo yum install postgresql-libs

    then:

    sudo yum install postgresql-devel

    then:

    gem update --system

    if needed, then:

    gem install bundler (Bundler 2.0)

    then:

    bundle install

提交回复
热议问题