This Gemfile requires a different version of Bundler.
bundle installのエラー発生
Gemfileをもとにbundle installしたらエラーメッセージが…
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | $ bundle install ... Fetching gem metadata from https://rubygems.org/............. Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Bundler could not find compatible versions for gem "bundler":   In Gemfile:     bundler (< 2.0.0, >= 1.5.0)   Current Bundler version:     bundler (2.0.2) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running `gem install bundler`? Could not find gem 'bundler (< 2.0.0, >= 1.5.0)' in any of the relevant sources:   the local ruby installation (意訳)Gemfileにはbundlerは1.5.0以上2.0.0未満のバージョンと指定してるよ。現在のバージョンは2.0.2だよ。もしかしてgem install bundlerでアップデートした? | 
bundlerの1.5.0以上2.0.0未満でバージョンを指定してインストールし直す。
| 1 2 3 4 5 | // バージョンを指定してインストール $ gem install bundler -v '1.5.0' // バージョンを指定して実行 $ bundle _1.5.0_ install | 
コメント
コメントはありません。