Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.default_sources
default_sources
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/defaults.rb, line 15
def self.default_sources
%w[https://rubygems.org/]
end
An Array of the default sources that come with RubyGems
See also
.default_rubygems_dirs
.default_spec_cache_dir
.default_path
.default_specifications_dir
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0