exe/benchmark-driver in benchmark_driver-0.16.1 vs exe/benchmark-driver in benchmark_driver-0.16.2
- old
+ new
@@ -46,9 +46,14 @@
o.on('--rbenv VERSIONS', String, 'Ruby executables in rbenv (x.x.x arg1;y.y.y arg2;...)') do |r|
r.split(';').each do |version|
executables << BenchmarkDriver::Rbenv.parse_spec(version)
end
end if system("which rbenv > #{File::NULL} 2>&1")
+ o.on('--chruby VERSIONS', String, 'Ruby executables in chruby (x.x.x arg1;y.y.y arg2;...)') do |r|
+ r.split(';').each do |version|
+ executables << BenchmarkDriver::Chruby.parse_spec(version)
+ end
+ end if Dir.exist?('/opt/rubies') || Dir.exist?("#{ENV['HOME']}/.rubies")
o.on('--rvm VERSIONS', String, 'Ruby executables in rvm (x.x.x arg1;y.y.y arg2;...)') do |r|
r.split(';').each do |version|
executables << BenchmarkDriver::Rvm.parse_spec(version)
end
end if system("which rvm > #{File::NULL} 2>&1")