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.



73
74
75
76
# File 'lib/rubygems/package.rb', line 73

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