We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1ff3df + b2002d4 commit 3aa3ee3Copy full SHA for 3aa3ee3
2 files changed
bundler/spec/support/path.rb
@@ -114,7 +114,7 @@ def tmp(*path)
114
end
115
116
def tmp_root
117
- source_root.join("tmp")
+ ruby_core? && (tmpdir = ENV["TMPDIR"]) ? Pathname(tmpdir) : source_root.join("tmp")
118
119
120
# Bump this version whenever you make a breaking change to the spec setup
bundler/spec/support/rubygems_ext.rb
@@ -43,7 +43,7 @@ def test_setup
43
# sign extension bundles on macOS, to avoid trying to find the specified key
44
# from the fake $HOME/Library/Keychains directory.
45
ENV.delete "RUBY_CODESIGN"
46
- ENV["TMPDIR"] = Path.tmpdir.to_s
+ ENV["TMPDIR"] = Path.tmpdir.to_s unless Path.ruby_core?
47
48
require "rubygems/user_interaction"
49
Gem::DefaultUserInteraction.ui = Gem::SilentUI.new
0 commit comments