summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbenchmark/driver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb
index 469fc99f40..ac710b8741 100755
--- a/benchmark/driver.rb
+++ b/benchmark/driver.rb
@@ -88,10 +88,10 @@ class BenchmarkDriver
# 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