module DefinitionPatch

Public Class Methods

new(wrong_lock, *args) click to toggle source
Calls superclass method
# File lib/sigterm_extensions/staging/boot/bundler_patch.rb, line 2
def initialize(wrong_lock, *args)
  lockfile = if ENV['SKIP_BUNDLER_PATCH']
    wrong_lock
  else
    SigtermExtensions::Boot::GEMFILE_NEXT_LOCK
  end

  super(lockfile, *args)
end