Exception: Gem::Package::PathError

Inherits:
Error show all
Defined in:
lib/rubygems/package.rb

Instance Attribute Summary

Attributes inherited from Exception

#source_exception

Instance Method Summary collapse

Methods included from Deprecate

deprecate, skip, skip=, skip_during

Constructor Details

#initialize(destination, destination_dir) ⇒ PathError

Returns a new instance of PathError.



71
72
73
74
# File 'lib/rubygems/package.rb', line 71

def initialize(destination, destination_dir)
  super "installing into parent path %s of %s is not allowed" %
          [destination, destination_dir]
end