From e9bc530795a13103ac5fd01475422cab632420cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 9 Nov 2023 20:30:59 +0100 Subject: [rubygems/rubygems] Make temp gem home independent of pwd https://github.com/rubygems/rubygems/commit/5c36556d2e --- test/rubygems/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3