Raised by the DependencyInstaller when a specific gem cannot be found
Methods
- N
Attributes
| [R] | errors | Errors encountered attempting to find the gem. |
| [R] | name | The name of the gem that could not be found. |
| [R] | version | The version of the gem that could not be found. |
Class Public methods
new(name, version, errors=nil)
Link
Creates a new SpecificGemNotFoundException
for a gem with the given name and version. Any
errors encountered when attempting to find the gem are also
stored.
Source: show
# File lib/rubygems/exceptions.rb, line 94 def initialize(name, version, errors=nil) super "Could not find a valid gem '#{name}' (#{version}) locally or in a repository" @name = name @version = version @errors = errors end