mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Fix jruby CI builds
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).
This commit is contained in:
parent
bde30e38d7
commit
3da1d36565
1 changed files with 8 additions and 1 deletions
|
|
@ -10,7 +10,14 @@ rvm:
|
|||
- jruby-9.1.16.0
|
||||
|
||||
before_install:
|
||||
- gem update --system
|
||||
# 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
|
||||
- gem install bundler
|
||||
|
||||
gemfile:
|
||||
|
|
|
|||
Loading…
Reference in a new issue