summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-11-09 20:30:59 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-15 19:38:28 +0900
commite9bc530795a13103ac5fd01475422cab632420cd (patch)
treef27f2b48f8a2a65d461eb45d97f44ea1c5cb5083
parent5bf75c20a2098e626d0dd65708a35c46039c5310 (diff)
[rubygems/rubygems] Make temp gem home independent of pwd
https://github.com/rubygems/rubygems/commit/5c36556d2e
-rw-r--r--test/rubygems/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 4e98dc1106..705ed71f0c 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -290,7 +290,7 @@ class Gem::TestCase < Test::Unit::TestCase
def setup
@orig_hooks = {}
@orig_env = ENV.to_hash
- @tmp = File.expand_path("tmp")
+ @tmp = File.expand_path("../../tmp", __dir__)
FileUtils.mkdir_p @tmp