Module: DefinitionPatch

Defined in:
lib/bootboot/bundler_patch.rb

Instance Method Summary collapse

Instance Method Details

#initialize(wrong_lock, *args) ⇒ Object



6
7
8
9
10
11
12
13
14
# 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