0
0

More than 3 years have passed since last update.

railsチュートリアル1章 bundle updateにて「An error occurred while installing pg (0.20.0), and Bundler cannot continue.」が発生する件

Posted at

railsチュートリアル1章 リスト 3.2サンプルアプリケーション用のGemfileにて

gemfile
group :production do
  gem 'pg', '0.20.0'
end

上記追加後 $ bundle install

An error occurred while installing pg (0.20.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.20.0' --source 'https://rubygems.org/'` succeeds before bundling.

のようなエラーが出た。
その後$ bundle install --without productionでエラー回避できたので、原因は後で追記する。

0
0
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
0
0