summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2019-09-29 12:38:21 +0200
committerBenoit Daloze <eregontp@gmail.com>2019-09-29 13:57:54 +0200
commita27dc83113afa9831dcdf919138666b09a73ccf6 (patch)
tree95f9ac866095d8d5823cfae56a7621e4c248cf71 /tool
parent4096e4b08c46dddb8edc9dabf70e737946ac6df8 (diff)
Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for miniruby
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2503
Diffstat (limited to 'tool')
-rw-r--r--tool/test-bundled-gems.rb2
1 files changed, 1 insertions, 1 deletions
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