IT分からんわ~_~;

IT色々お勉強中のブログ

Rails gem installing pg でエラー

とあるrailsアプリでbundle install すると以下エラー

An error occurred while installing pg (0.18.2), and Bundler cannot continue.
Make sure that `gem install pg -v '0.18.2'` succeeds before bundling.

posgreをインストール

brew install postgresql

成功

Bundle complete! 38 Gemfile dependencies, 93 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
bundle install  7.48s user 2.37s system 25% cpu 39.198 total