Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::SourceFetchProblem.new
new(source, error)
lib/rubygems/errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/errors.rb, line 149
def initialize(source, error)
@source = source
@error = error
end
Creates a new SourceFetchProblem for the given source and error.