summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/errors.rb5
1 files changed, 3 insertions, 2 deletions
@@ -28,14 +28,15 @@ module Gem
# superclass Gem::LoadError to catch all types of load errors.
class MissingSpecError < Gem::LoadError
- def initialize(name, requirement)
@name = name
@requirement = requirement
end
def message # :nodoc:
build_message +
- "Checked in 'GEM_PATH=#{Gem.path.join(File::PATH_SEPARATOR)}', execute `gem env` for more information"
end
private