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 /tool | |
parent | 4096e4b08c46dddb8edc9dabf70e737946ac6df8 (diff) | |
download | ruby-a27dc83113afa9831dcdf919138666b09a73ccf6.tar.gz |
Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for miniruby
Diffstat (limited to 'tool')
-rw-r--r-- | tool/test-bundled-gems.rb | 2 |
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 |