diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-09-29 12:38:21 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-09-29 13:57:54 +0200 |
commit | a27dc83113afa9831dcdf919138666b09a73ccf6 (patch) | |
tree | 95f9ac866095d8d5823cfae56a7621e4c248cf71 | |
parent | 4096e4b08c46dddb8edc9dabf70e737946ac6df8 (diff) | |
download | bundler-a27dc83113afa9831dcdf919138666b09a73ccf6.tar.gz |
Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for miniruby
-rw-r--r-- | template/Makefile.in | 2 | ||||
-rw-r--r-- | tool/test-bundled-gems.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index 117c1cd5c4..4c817b170c 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -536,7 +536,7 @@ cont.$(OBJEXT): $(COROUTINE_H) TEST_BUNDLED_GEMS_ALLOW_FAILURES = test-bundled-gems-run: - $(Q) $(XRUBY) $(srcdir)/tool/test-bundled-gems.rb + $(Q) $(XRUBY) $(srcdir)/tool/test-bundled-gems.rb $(XRUBY) update-src:: @$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP) diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb index 735f7f4863..9035e20bb1 100644 --- a/tool/test-bundled-gems.rb +++ b/tool/test-bundled-gems.rb @@ -9,7 +9,7 @@ File.foreach('gems/bundled_gems') do |line| puts "\nTesting the #{gem} gem" gem_src_dir = File.expand_path("../../gems/src/#{gem}", __FILE__ ) - test_command = "#{RbConfig.ruby} -C #{gem_src_dir} -Ilib ../../../.bundle/bin/rake" + test_command = "#{ARGV.join(' ')} -C #{gem_src_dir} -Ilib ../../../.bundle/bin/rake" puts test_command system test_command |