aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-11 12:12:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-15 19:48:25 +0900
commitc3ecd1cbd37db93fe181f00dd0c43059d2f3fcec (patch)
tree4d8160c2d2189e33c601048d0e050ec07a30d37a /test/rubygems/test_gem_commands_build_command.rb
parent3a2628025ed82b833483e8c42e08a0f7d12668ad (diff)
downloadruby-c3ecd1cbd37db93fe181f00dd0c43059d2f3fcec.tar.gz
Revert "Revert "[rubygems/rubygems] Remove unneeded global teardown""
This reverts commit ac2c07e98373bb62be618001c897fa9d5809d8a4.
Diffstat (limited to 'test/rubygems/test_gem_commands_build_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb
index 76ede1466f..ac5d2ddd16 100644
--- a/test/rubygems/test_gem_commands_build_command.rb
+++ b/test/rubygems/test_gem_commands_build_command.rb
@@ -398,6 +398,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
skip 'openssl is missing' unless defined?(OpenSSL::SSL) && !java_platform?
gem_path = File.join Gem.user_home, ".gem"
+ Dir.mkdir gem_path
Gem::Security.trust_dir
@@ -441,6 +442,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
skip 'openssl is missing' unless defined?(OpenSSL::SSL) && !java_platform?
gem_path = File.join Gem.user_home, ".gem"
+ Dir.mkdir gem_path
Gem::Security.trust_dir