LoginSignup
6
2

More than 3 years have passed since last update.

[エラー]An error occurred while installing pg (1.2.3), and Bundler cannot continue.の解決法

Posted at

背景

タイトルのエラーが発生し、路頭に迷い込んでいましたが、意外と簡単に解決したので一応記事にしておこうかなと思います。

解決策

結論、postgresql本体は入っていたが、develが入っていなかったよう。

$ sudo yum install postgresql-devel

最後に

自分の状況としては、本番環境のDBをpgにして、バージョン等を新しくしたので色々とごちゃごちゃしてややこしくなった結果、develを入れ忘れていたというような感じです。。
もし、同じ人がいたときように書いたんで参考までに。

6
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
2