diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-02-22 11:58:54 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-02-22 13:32:59 +0900 |
commit | a49aae2c5e3786e5ac9a879772e53a6a731ec12f (patch) | |
tree | cbc4a321e5e369fbdcc39c4e7bf33fde6dcdafa9 /test/rubygems/test_gem_commands_setup_command.rb | |
parent | 7d81ee42ba6456c50a5202e2666026f1a2996ccc (diff) |
[rubygems/rubygems] Resolve cleaned-up error with temporary gemhome
https://github.com/rubygems/rubygems/commit/623162ad2b
Diffstat (limited to 'test/rubygems/test_gem_commands_setup_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_setup_command.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb index 5cf94a1dc9..934c76b1d1 100644 --- a/test/rubygems/test_gem_commands_setup_command.rb +++ b/test/rubygems/test_gem_commands_setup_command.rb @@ -274,6 +274,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase spec.executables.each do |e| assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', spec.full_name, spec.bindir, e end + ensure + FileUtils.chmod "+w", @gemhome end def test_install_default_bundler_gem_with_destdir_and_prefix_flags |