Skip to content

Commit 69f4d46

Browse files
committed
Update jruby version
The jruby 9.2 builds were failing during `bundle install` with the following error: ``` bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} 256Error occurred during initialization of boot layer 257java.lang.module.FindException: Unable to derive module descriptor for /home/travis/.rvm/rubies/jruby-9.2.0.0/lib/jruby.jar 258Caused by: java.lang.module.InvalidModuleDescriptorException: Test.class found in top-level directory (unnamed package not allowed in module) ``` After updating jruby to 9.2.7, the builds started failing with the following: ``` You must use Bundler 2 or greater with this lockfile. 349The command "bin/test" exited with 20. ``` Everything worked correctly after updating Bundler inside the `before_install` hook. Ref: https://travis-ci.community/t/unable-to-test-against-jruby-9-2-7-0/3138
1 parent bcc1197 commit 69f4d46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rvm:
88
- 2.6.3
99
- ruby-head
1010
- jruby-9.1.17.0
11-
- jruby-9.2.0.0
11+
- jruby-9.2.7.0
1212
gemfile:
1313
- gemfiles/Gemfile.rails-5-0-stable
1414
- gemfiles/Gemfile.rails-5-1-stable
@@ -26,8 +26,10 @@ matrix:
2626
- rvm: ruby-head
2727
- rvm: jruby-9.1.17.0
2828
gemfile: Gemfile
29-
- rvm: jruby-9.2.0.0
29+
- rvm: jruby-9.2.7.0
3030
gemfile: Gemfile
31+
before_install:
32+
- gem update --system
3133
notifications:
3234
email: false
3335
slack:

0 commit comments

Comments
 (0)