ruby-changes:62471
From: Hiroshi <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:45 +0900 (JST)
Subject: [ruby-changes:62471] 0e2d8c487c (master): [rubygems/rubygems] unset XDG_* environmental variables for testing of rubygems.
https://git.ruby-lang.org/ruby.git/commit/?id=0e2d8c487c From 0e2d8c487c42aa311d329d1f44963cf002e0e598 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 31 Jul 2020 14:02:42 +0900 Subject: [rubygems/rubygems] unset XDG_* environmental variables for testing of rubygems. https://github.com/rubygems/rubygems/commit/539fd9a39a diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 69f6e6d..7bf7142 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -296,6 +296,9 @@ class Gem::TestCase < Minitest::Test https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L296 ENV['GEM_VENDOR'] = nil ENV['GEMRC'] = nil + ENV['XDG_CACHE_HOME'] = nil + ENV['XDG_CONFIG_HOME'] = nil + ENV['XDG_DATA_HOME'] = nil ENV['SOURCE_DATE_EPOCH'] = nil ENV["TMPDIR"] = @tmp -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/