Exception: Gem::LoadError

Inherits:
LoadError
  • Object
show all
Defined in:
lib/rubygems/errors.rb

Overview

Raised when RubyGems is unable to load or activate a gem. Contains the name and version requirements of the gem that either conflicts with already activated gems or that RubyGems is otherwise unable to activate.

Direct Known Subclasses

ConflictError, MissingSpecError

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Name of gem



17
18
19
# File 'lib/rubygems/errors.rb', line 17

def name
  @name
end

#requirementObject

Version requirement of gem



20
21
22
# File 'lib/rubygems/errors.rb', line 20

def requirement
  @requirement
end