Exception: Gem::FilePermissionError

Inherits:
Exception
  • Object
show all
Defined in:
lib/rubygems/exceptions.rb

Overview

Signals that a file permission error is preventing the user from installing in the requested directories.

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FilePermissionError

Returns a new instance of FilePermissionError.



29
30
31
# File 'lib/rubygems/exceptions.rb', line 29

def initialize(path)
  super("You don't have write permissions into the #{path} directory.")
end