ruby-changes:61122
From: David <ko1@a...>
Date: Fri, 8 May 2020 14:14:44 +0900 (JST)
Subject: [ruby-changes:61122] ce88e2a8aa (master): [rubygems/rubygems] Suppress warnings coming from `jar-dependencies`
https://git.ruby-lang.org/ruby.git/commit/?id=ce88e2a8aa From ce88e2a8aa29559ee4d785ee6d77194bbe1ff83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 1 Apr 2020 13:35:09 +0200 Subject: [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. https://github.com/rubygems/rubygems/commit/0aabbcf269 diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index bb1ce28..2bf4fb0 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -30,6 +30,8 @@ require 'bundler' https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L30 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' -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/