Class: NRBundlerPatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/boot/strap.rb

Constant Summary collapse

BUNDLER =
'bundler'
RUBYOPT =
'RUBYOPT'

Class Method Summary collapse

Class Method Details

.patchObject



63
64
65
66
67
68
69
70
# File 'lib/boot/strap.rb', line 63

def self.patch
  check_for_require
  check_for_rubyopt
  check_for_bundler
  Bundler::Runtime.prepend(NRBundlerPatch)
rescue StandardError => e
  Kernel.warn "New Relic entrypoint at #{__FILE__} encountered an issue:\n  #{e.message}"
end