Exception: Gem::FilePermissionError

Inherits:
Exception 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

- (FilePermissionError) initialize(path)

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