Несовместимость Rails 5.0.2 с bundler 2.0.1 - PullRequest
0 голосов
/ 03 февраля 2019

В настоящее время я использую Rails 5.0.2 с компоновщиком (<2.0,> = 1.3.0).Этим утром, когда я запустил 'gem install bundler', он закончил установку bundler 2.0.1, который теперь несовместим с Rails 5.0.2.Мне интересно, стоит ли мне обновлять версию Rails или версию бандлера.Пожалуйста, смотрите журнал из моей сборки Дженкинса ниже.

gem install bundler
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Done installing documentation for bundler after 5 seconds
1 gem installed
bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
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:
    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      bundler (< 2.0, >= 1.3.0)

  Current Bundler version:
    bundler (2.0.1)
This Gemfile requires a different version of Bundler.

1 Ответ

0 голосов
/ 03 февраля 2019

попробуй

gem update --system

после

bundle install
...