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
623162ad2b
This commit is contained in:
parent
7d81ee42ba
commit
a49aae2c5e
1 changed files with 2 additions and 0 deletions
|
@ -274,6 +274,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
|
||||||
spec.executables.each do |e|
|
spec.executables.each do |e|
|
||||||
assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', spec.full_name, spec.bindir, e
|
assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', spec.full_name, spec.bindir, e
|
||||||
end
|
end
|
||||||
|
ensure
|
||||||
|
FileUtils.chmod "+w", @gemhome
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_install_default_bundler_gem_with_destdir_and_prefix_flags
|
def test_install_default_bundler_gem_with_destdir_and_prefix_flags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue