diff options
-rw-r--r-- | lib/rubygems/commands/sources_command.rb | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -43,6 +43,8 @@ class Gem::Commands::SourcesCommand < Gem::Command source = Gem::Source.new source_uri begin if Gem.sources.include? source say "source #{source_uri} already present in the cache" @@ -62,6 +64,18 @@ class Gem::Commands::SourcesCommand < Gem::Command end end def check_rubygems_https(source_uri) # :nodoc: uri = URI source_uri |