Sha256: 67d3faf71183116a42a87dd1b7160cf455ebf9316946026ddc0c3ee12b898ac0
Contents?: true
Size: 617 Bytes
Versions: 9
Compression:
Stored size: 617 Bytes
Contents
# Bundler monkey patches module ::Bundler # Patch bundler to write a .lock file specific to the version of ruby. # This keeps MRI/JRuby/RBX from conflicting over the Gemfile.lock updates module SharedHelpers def default_lockfile ruby = "#{LogStash::Environment.ruby_engine}-#{LogStash::Environment.ruby_abi_version}" Pathname.new("#{default_gemfile}.#{ruby}.lock") end end # Add the Bundler.reset! method which has been added in master but is not in 1.7.9. class << self unless self.method_defined?("reset!") def reset! @definition = nil end end end end
Version data entries
9 entries across 9 versions & 1 rubygems