diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-21 09:58:41 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-31 07:47:02 +0800 |
commit | a3c0ea55f8cfd634db6ce623599ea3ad9750f11e (patch) | |
tree | 0931f4c4678ca19e2b3e67b12982dbc43d4be4e3 /lib | |
parent | 1eaacb1ef538fe5af2fe231bb340fc39fef67547 (diff) | |
download | ruby-a3c0ea55f8cfd634db6ce623599ea3ad9750f11e.tar.gz |
[rubygems/rubygems] Ignore GEMRC variable for test suite. It affects with some test case.
https://github.com/rubygems/rubygems/commit/4a0ca2583a
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/test_case.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 0d2884b5bf..d57f382503 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -246,6 +246,7 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni @orig_env = ENV.to_hash ENV['GEM_VENDOR'] = nil + ENV['GEMRC'] = nil ENV['SOURCE_DATE_EPOCH'] = nil @current_dir = Dir.pwd |