123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::GemRequireError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BundlerError, StandardError
Instance Chain:
self, BundlerError, StandardError
Inherits: Bundler::BundlerError
Defined in: lib/bundler/errors.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(orig_exception, msg) ⇒ GemRequireError

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 137

def initialize(orig_exception, msg)
  full_message = msg + "\nGem Load Error is: #{orig_exception.message}\n"\
                  "Backtrace for gem load error is:\n"\
                  "#{orig_exception.backtrace.join("\n")}\n"\
                  "Bundler Error Backtrace:\n"
  super(full_message)
  @orig_exception = orig_exception
end

Instance Attribute Details

#orig_exception (readonly)

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 135

attr_reader :orig_exception