From dd5fced799850aa0c68fc4ce6c6e72a6c40609ab Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Mon, 19 Mar 2018 15:30:12 -0300 Subject: [PATCH] Make jruby fix less error prone, by removing coupling with exact jruby version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7efc8d3..7886e43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: