Sha256: 690b6b66bd1a274e5232ac66b287b3bbe741c4a803e024d6a31cf277692ba722
Contents?: true
Size: 316 Bytes
Versions: 4
Compression:
Stored size: 316 Bytes
Contents
# This module can be transparently run even if Bundler is not installed module Benchmark::Driver::Bundler def self.with_clean_env(&block) begin require 'bundler' rescue LoadError block.call # probably bundler is not used else ::Bundler.with_clean_env { block.call } end end end
Version data entries
4 entries across 4 versions & 1 rubygems