ポイント
- PostgreSQL
yum postgresqlといった形ではなく、をリポジトリを導入してyum postgresql96-serverなどとした場合に発生した。 - 事前に bundle config することが重要だった。
- 具体的には、
bundle config build.pg --with-pg-config=/usr/pgsql-9.6/bin/pg_configを行い、次に今まで失敗していたインストールコマンドbundle install --without 'development test' --path vendor/bundleを行うことで、無事にインストールできた。
