Exception: Gem::UnsatisfiableDepedencyError

Inherits:
Exception
  • Object
show all
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

Attributes inherited from Exception

#source_exception

Instance Method Summary collapse

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

#dependencyObject (readonly)

Returns the value of attribute dependency



38
39
40
# File 'lib/rubygems/dependency_resolver.rb', line 38

def dependency
  @dependency
end