Exception: Gem::Package::InvalidWindowsFileNameError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Gem::InstallError,
::Gem::Exception,
RuntimeError
|
|
|
Instance Chain:
self,
::Gem::InstallError,
::Gem::Exception,
RuntimeError
|
|
| Inherits: |
Gem::InstallError
|
| Defined in: | lib/rubygems/package.rb |
Overview
Raised when a filename contains characters that are invalid on Windows
Class Method Summary
Constructor Details
.new(filename, gem_name = nil) ⇒ InvalidWindowsFileNameError
# File 'lib/rubygems/package.rb', line 96
def initialize(filename, gem_name = nil) = "The gem contains a file '#{filename}' with characters in its name that are not allowed on Windows (e.g., colons)." += " This is a problem with the '#{gem_name}' gem, not Rubygems." if gem_name += " Please report this issue to the gem author." super end