ruby-changes:50399
From: ko1 <ko1@a...>
Date: Wed, 21 Feb 2018 17:51:54 +0900 (JST)
Subject: [ruby-changes:50399] ko1:r62515 (trunk): use `--version`.
ko1 2018-02-21 17:51:49 +0900 (Wed, 21 Feb 2018) New Revision: 62515 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62515 Log: use `--version`. * benchmark/driver.rb: use `--version` instead of `-v` to get version information. Modified files: trunk/benchmark/driver.rb Index: benchmark/driver.rb =================================================================== --- benchmark/driver.rb (revision 62514) +++ benchmark/driver.rb (revision 62515) @@ -88,10 +88,10 @@ class BenchmarkDriver https://github.com/ruby/ruby/blob/trunk/benchmark/driver.rb#L88 # ex) ruby-a::/path/to/ruby-a label = $1.strip path = $2 - version = `#{path} -v`.chomp + version = `#{path} --version`.chomp else path = e - version = label = `#{path} -v`.chomp + version = label = `#{path} --version`.chomp end [path, label, version] }.compact -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/