Exception: Bundler::GemRequireError
- Inherits:
-
BundlerError
- Object
- StandardError
- BundlerError
- Bundler::GemRequireError
- Defined in:
- lib/bundler/errors.rb
Instance Attribute Summary collapse
-
#orig_exception ⇒ Object
readonly
Returns the value of attribute orig_exception.
Instance Method Summary collapse
-
#initialize(orig_exception, msg) ⇒ GemRequireError
constructor
A new instance of GemRequireError.
Methods inherited from BundlerError
Constructor Details
#initialize(orig_exception, msg) ⇒ GemRequireError
Returns a new instance of GemRequireError.
106 107 108 109 110 111 112 113 |
# File 'lib/bundler/errors.rb', line 106 def initialize(orig_exception, msg) = msg + "\nGem Load Error is: #{orig_exception.}\n"\ "Backtrace for gem load error is:\n"\ "#{orig_exception.backtrace.join("\n")}\n"\ "Bundler Error Backtrace:\n" super() @orig_exception = orig_exception end |
Instance Attribute Details
#orig_exception ⇒ Object (readonly)
Returns the value of attribute orig_exception.
104 105 106 |
# File 'lib/bundler/errors.rb', line 104 def orig_exception @orig_exception end |