1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Resolve cleaned-up error with temporary gemhome

https://github.com/rubygems/rubygems/commit/623162ad2b
This commit is contained in:
Hiroshi SHIBATA 2022-02-22 11:58:54 +09:00 committed by git
parent 7d81ee42ba
commit a49aae2c5e

View file

@ -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