Sha256: 1dfcd6b14ddbd339c7e402a6d27bdbe760fbb6ebc12d40e883d827b5fc7d4e3a
Contents?: true
Size: 446 Bytes
Versions: 77
Compression:
Stored size: 446 Bytes
Contents
# This is a monkey patch # # we need a method to reset the global configuration of Bundler. If bundler is already loaded, # in the case that mortar is run itself through bundler, then we need to reset to allow us to properly # install the bundle in the correct location. module Bundler class << self def nuke_configuration [:@bundle_path, :@settings].each { |var| self.instance_variable_set var, nil } end end end
Version data entries
77 entries across 77 versions & 1 rubygems