lib/benchmark_driver/runner.rb in benchmark_driver-0.14.18 vs lib/benchmark_driver/runner.rb in benchmark_driver-0.14.19

- old
+ new

@@ -90,10 +90,10 @@ end BenchmarkDriver.const_get("Runner::#{match[:namespace]}", false) end def with_clean_env(&block) - unless defined?(Gem) + unless defined?(Gem::Version) # default-gem Bundler can be loaded and broken with --disable-gems return block.call end require 'bundler'