1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Suppress warnings coming from jar-dependencies

This is a default gem on jruby, which ships with a rubygems plugin,
which prints warnings all over the place during our tests.

This plugin is unnecessary from our tests, so I disable it through the
`JARS_SKIP` environment variable provided by this gem.

0aabbcf269
This commit is contained in:
David Rodríguez 2020-04-01 13:35:09 +02:00 committed by Hiroshi SHIBATA
parent 314d7f897c
commit ce88e2a8aa
Notes: git 2020-05-08 14:14:12 +09:00

View file

@ -30,6 +30,8 @@ require 'bundler'
require 'minitest/autorun'
ENV["JARS_SKIP"] = "true" if Gem.java_platform? # avoid unnecessary and noisy `jar-dependencies` post install hook
require 'rubygems/deprecate'
require 'fileutils'