Skip to content

Commit

Permalink
Fix jruby CI builds
Browse files Browse the repository at this point in the history
For jruby we need to stick with rubygems 2.7.4 until
rubygems/rubygems#2188
is fixed and released.

Without this workaround, for jruby builds, rubygems
activates jruby stdlib minitest (v5.4.1) instead of the
bundled version (v5.11.3).
  • Loading branch information
grzuy committed Mar 19, 2018
1 parent bde30e3 commit 57f532c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ rvm:
- jruby-9.1.16.0

before_install:
- gem update --system
- gem install bundler
# For jruby we need to stick with rubygems 2.7.4 until
# https://github.com/rubygems/rubygems/issues/2188
# is fixed and released.
#
# Without this workaround, for jruby builds, rubygems
# activates jruby stdlib minitest (v5.4.1) instead of the
# bundled version (v5.11.3).
- if [ "$TRAVIS_RUBY_VERSION" = "jruby-9.1.16.0" ]; then gem update --system 2.7.4; else gem update --system; fi

gemfile:
- gemfiles/rails_5_2.gemfile
Expand Down

0 comments on commit 57f532c

Please sign in to comment.