Make jruby fix less error prone, by removing coupling with exact jruby version

This commit is contained in:
Gonzalo Rodriguez 2018-03-19 15:30:12 -03:00
parent 3da1d36565
commit dd5fced799
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1

View file

@ -17,7 +17,7 @@ before_install:
# 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
- if [ "${TRAVIS_RUBY_VERSION:0:5}" = "jruby" ]; then gem update --system 2.7.4; else gem update --system; fi
- gem install bundler
gemfile: