From dfeb7a66fbec9afd4826be97f3290c6d4fb1a0f1 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Mon, 5 Aug 2019 00:31:41 +0000 Subject: [PATCH] Address `Bundler could not find compatible versions for gem "bundler":` https://travis-ci.org/thoughtbot/factory_bot_rails/jobs/567563177#L333-L355 ```ruby Bundler could not find compatible versions for gem "bundler": In rails4.2.gemfile: appraisal was resolved to 2.2.0, which depends on bundler rails (~> 4.2.11) was resolved to 4.2.11.1, which depends on bundler (>= 1.3.0, < 2.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 (>= 1.3.0, < 2.0)', which is required by gem 'rails (~> 4.2.11)', in any of the sources. Bundler could not find compatible versions for gem "cucumber": In rails4.2.gemfile: cucumber (= 1.3.19) aruba was resolved to 0.14.11, which depends on cucumber (>= 1.3.19) The command "bundle install --retry 3 --jobs 8" failed and exited with 6 during . ``` because the latest version of Bundler is 2.0.2 since June 13, 2019 https://rubygems.org/gems/bundler/versions/2.0.2 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 96adfd1..6f34ef8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ env: - ARUBA_TIMEOUT=240 before_install: - gem update --system - - rvm @default,@global do gem uninstall bundler -v 2.0.1 -x + - rvm @default,@global do gem uninstall bundler -v 2.0.2 -x cache: bundler rvm: - 2.3