End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::RemoteFetcher::FetchError.new
new(message, uri)
lib/rubygems/remote_fetcher.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/remote_fetcher.rb, line 27
def initialize(message, uri)
uri = Gem::Uri.new(uri)
super uri.redact_credentials_from(message)
@original_uri = uri.to_s
@uri = uri.redacted.to_s
end
No documentation available