Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rubygems/exceptions.rb

Methods

Class/Module Index [+]

Quicksearch

Gem::FilePermissionError

Signals that a file permission error is preventing the user from operating on the given directory.

Attributes

directory[R]

Public Class Methods

new(directory) click to toggle source
 
               # File rubygems/exceptions.rb, line 69
def initialize directory
  @directory = directory

  super "You don't have write permissions for the #{directory} directory."
end