Module: DefinitionPatch

Defined in:
lib/bootboot/bundler_patch.rb

Instance Method Summary collapse

Instance Method Details

#initialize(wrong_lock, *args) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/bootboot/bundler_patch.rb', line 4

def initialize(wrong_lock, *args)
  lockfile = if ENV['SKIP_BUNDLER_PATCH']
    wrong_lock
  else
    Bootboot::GEMFILE_NEXT_LOCK
  end

  super(lockfile, *args)
end