Module: Bundler::SharedHelpers

Defined in:
lib/logstash/patches/bundler.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#default_lockfileObject



6
7
8
9
# File 'lib/logstash/patches/bundler.rb', line 6

def default_lockfile
  ruby = "#{LogStash::Environment.ruby_engine}-#{LogStash::Environment.ruby_abi_version}"
  Pathname.new("#{default_gemfile}.#{ruby}.lock")
end