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

Constructor Details

#initialize(destination, destination_dir) ⇒ PathError

Returns a new instance of PathError.



68
69
70
71
# File 'lib/rubygems/package.rb', line 68

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