こんにちは。
今回potgresqlをしようしたく思っています。
Gemfileにて
「gem 'pg', '1.1.3'」
を記述し、bundle installを行いました。
結果以下のエラーが生じております。
An error occurred while installing pg (1.1.3), and Bundler cannot continue. Make sure that `gem install pg -v '1.1.3' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: pg
現時点で行ったこと
①postgresqlのインストール
以下状況です。
postgresql95-devel-9.5.14-1PGDG.rhel6.x86_64 postgresql96-9.6.10-1PGDG.rhel6.x86_64 postgresql-devel-8.4.20-8.el6_9.x86_64 postgresql95-9.5.14-1PGDG.rhel6.x86_64 postgresql96-libs-9.6.10-1PGDG.rhel6.x86_64 postgresql-8.4.20-8.el6_9.x86_64 postgresql95-libs-9.5.14-1PGDG.rhel6.x86_64 postgresql95-contrib-9.5.14-1PGDG.rhel6.x86_64 postgresql-libs-8.4.20-8.el6_9.x86_64 postgresql95-server-9.5.14-1PGDG.rhel6.x86_64 postgresql96-server-9.6.10-1PGDG.rhel6.x86_64
②yum -y install postgresql96-server
③yum install postgresql-devel
です。
これらを行ったにもかかわらず、上述のエラーが出ており、困っております。
何卒お力添えいただけましたなら幸いです。
環境
CentOS 6
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/07 08:27