Exception: Gem::UnsatisfiableDepedencyError
- Defined in:
- lib/rubygems/dependency_resolver.rb
Overview
Raised when a dependency requests a gem for which there is no spec.
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(dep) ⇒ UnsatisfiableDepedencyError
constructor
A new instance of UnsatisfiableDepedencyError.
Constructor Details
#initialize(dep) ⇒ UnsatisfiableDepedencyError
Returns a new instance of UnsatisfiableDepedencyError.
32 33 34 35 36 |
# File 'lib/rubygems/dependency_resolver.rb', line 32 def initialize(dep) super "unable to find any gem matching dependency '#{dep}'" @dependency = dep end |
Instance Attribute Details
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency
38 39 40 |
# File 'lib/rubygems/dependency_resolver.rb', line 38 def dependency @dependency end |