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.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Name of gem



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

def name
  @name
end

#requirementObject

Version requirement of gem



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

def requirement
  @requirement
end