1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00

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
This commit is contained in:
Yasuo Honda 2019-08-05 00:31:41 +00:00 committed by Daniel Colson
parent f1da3aa430
commit dfeb7a66fb

View file

@ -3,7 +3,7 @@ env:
- ARUBA_TIMEOUT=240 - ARUBA_TIMEOUT=240
before_install: before_install:
- gem update --system - 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 cache: bundler
rvm: rvm:
- 2.3 - 2.3