class Gem::Package::InvalidWindowsFileNameError

Raised when a filename contains characters that are invalid on Windows

Public Class Methods

Calls superclass method Exception::new
# File lib/rubygems/package.rb, line 96
def initialize(filename, gem_name = nil)
  message = "The gem contains a file '#{filename}' with characters in its name that are not allowed on Windows (e.g., colons)."
  message += " This is a problem with the '#{gem_name}' gem, not Rubygems." if gem_name
  message += " Please report this issue to the gem author."
  super message
end