зеркало из https://github.com/github/ruby.git
Prevent a warning: `*' interpreted as argument prefix
This commit is contained in:
Родитель
907b1b6111
Коммит
0293f8ca8e
|
@ -15,7 +15,7 @@ gemspec = File.expand_path('rust_ruby_example.gemspec', __dir__)
|
|||
|
||||
Dir.mktmpdir("rust_ruby_example") do |dir|
|
||||
built_gem = File.expand_path(File.join(dir, "rust_ruby_example.gem"))
|
||||
system *gem, "build", gemspec, "--output", built_gem
|
||||
system *gem, "install", "--verbose", "--local", built_gem, *ARGV
|
||||
system(*gem, "build", gemspec, "--output", built_gem)
|
||||
system(*gem, "install", "--verbose", "--local", built_gem, *ARGV)
|
||||
system %q(ruby -rrust_ruby_example -e "puts 'Result: ' + RustRubyExample.reverse('hello world')")
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче