diff options
Diffstat (limited to 'lib/rubygems/exceptions.rb')
-rw-r--r-- | lib/rubygems/exceptions.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rubygems/exceptions.rb b/lib/rubygems/exceptions.rb index 294dad5748..b34bc718ff 100644 --- a/lib/rubygems/exceptions.rb +++ b/lib/rubygems/exceptions.rb @@ -11,8 +11,12 @@ class Gem::DependencyError < Gem::Exception; end class Gem::DependencyRemovalException < Gem::Exception; end +## +# Raised when attempting to uninstall a gem that isn't in GEM_HOME. +class Gem::GemNotInHomeException < Gem::Exception; end + class Gem::DocumentError < Gem::Exception; end - + ## # Potentially raised when a specification is validated. class Gem::EndOfYAMLException < Gem::Exception; end |