[rubygems/rubygems] Bin dir should fall inside destdir
Since that's what happens in real life when `--destdir` is passed. https://github.com/rubygems/rubygems/commit/55637bdc8a
This commit is contained in:
parent
ef6752c6c4
commit
d47831d554
@ -245,9 +245,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
|
|||||||
def test_install_default_bundler_gem_with_destdir_flag
|
def test_install_default_bundler_gem_with_destdir_flag
|
||||||
@cmd.extend FileUtils
|
@cmd.extend FileUtils
|
||||||
|
|
||||||
bin_dir = File.join(@gemhome, 'bin')
|
|
||||||
|
|
||||||
destdir = File.join(@tempdir, 'foo')
|
destdir = File.join(@tempdir, 'foo')
|
||||||
|
bin_dir = File.join(destdir, 'bin')
|
||||||
|
|
||||||
@cmd.options[:destdir] = destdir
|
@cmd.options[:destdir] = destdir
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user