diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-11 12:10:55 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-17 21:16:56 +0900 |
| commit | 97819759de9a3a62bb7a4c137d8aa3eb75138e04 (patch) | |
| tree | 48c41f925518c9462ee2a808880dde11b85d0450 | |
| parent | dd1bfbc0613c1131b1c31f02e336f88255eb3cab (diff) | |
Revert "Revert "[rubygems/rubygems] Use a local temporary directory""
This reverts commit 20971d0df41368e0f946683823bc786514e16fef.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3213
| -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 7cc1b9afaa..76c783da37 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -302,6 +302,7 @@ class Gem::TestCase < Minitest::Test ENV['GEM_VENDOR'] = nil ENV['GEMRC'] = nil ENV['SOURCE_DATE_EPOCH'] = nil + ENV["TMPDIR"] = File.expand_path("tmp") @current_dir = Dir.pwd @fetcher = nil |
