Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::LocalRemoteOptions#remote?
remote?
lib/rubygems/local_remote_options.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/local_remote_options.rb, line 143
def remote?
options[:domain] == :remote || options[:domain] == :both
end
Is remote fetching enabled?