exe/benchmark-driver in benchmark_driver-0.5.0 vs exe/benchmark-driver in benchmark_driver-0.5.1
- old
+ new
@@ -65,15 +65,17 @@
$stderr.puts ' YAML format may be wrong. See error below:'
$stderr.puts
raise
end
+ opts = options.dup
+
# Proceed execs first for --bundler
- if options.key?(:execs)
- config.runner_options.executables = options.delete(:execs)
+ if opts.key?(:execs)
+ config.runner_options.executables = opts.delete(:execs)
end
- options.each do |key, value|
+ opts.each do |key, value|
case key
when :bundler
config.runner_options.executables.each do |executable|
Benchmark::Driver::BundleInstaller.bundle_install_for(executable)
executable.command << '-rbundler/setup'