Skip to content

Commit c15d286

Browse files
mameschneems
authored andcommitted
Prevent a warning: `*' interpreted as argument prefix
1 parent eec3c85 commit c15d286

File tree

1 file changed

+2
-2
lines changed
  • test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example

1 file changed

+2
-2
lines changed

test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/build.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
Dir.mktmpdir("rust_ruby_example") do |dir|
1717
built_gem = File.expand_path(File.join(dir, "rust_ruby_example.gem"))
18-
system *gem, "build", gemspec, "--output", built_gem
19-
system *gem, "install", "--verbose", "--local", built_gem, *ARGV
18+
system(*gem, "build", gemspec, "--output", built_gem)
19+
system(*gem, "install", "--verbose", "--local", built_gem, *ARGV)
2020
system %q(ruby -rrust_ruby_example -e "puts 'Result: ' + RustRubyExample.reverse('hello world')")
2121
end

0 commit comments

Comments
 (0)