Skip to content

Commit 38721b7

Browse files
authored
Merge pull request #1950 from rspec/fix-ci
Pin bundler to fix CI
2 parents fd443d7 + 4ad73ef commit 38721b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3"
2424

2525
before_install:
2626
- script/clone_all_rspec_repos
27-
- gem update bundler
27+
# Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3
28+
- if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.15.4"; fi
29+
- alias bundle="bundle _1.15.4_"
2830

2931
before_script:
3032
# Rails 4.x complains with a bundler rails binstub in PROJECT_ROOT/bin/

0 commit comments

Comments
 (0)