Exception: Gem::FilePermissionError

Inherits:
Exception
  • Object
show all
Defined in:
lib/rubygems/cmd_manager.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.



24
25
26
# File 'lib/rubygems/cmd_manager.rb', line 24

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