module DefinitionPatch

Public Class Methods

new(wrong_lock, *args) click to toggle source
Calls superclass method
# File lib/bootboot/bundler_patch.rb, line 6
def initialize(wrong_lock, *args)
  lockfile = if ENV['BOOTBOOT_UPDATING_ALTERNATE_LOCKFILE']
    wrong_lock
  else
    Bootboot::GEMFILE_NEXT_LOCK
  end

  super(lockfile, *args)
end