add_source_option (Gem::LocalRemoteOptions)

    # File lib/rubygems/local_remote_options.rb, line 87
      def add_source_option
        accept_uri_http

        add_option("Local/Remote""Local/Remote", '--source URL', URI::HTTP,
                   'Use URL as the remote source for gems') do |source, options|
          source << '/' if source !~ /\/\z/

          if options[:added_source] then
            Gem.sources << source unless Gem.sources.include?(source)
          else
            options[:added_source] = true
            Gem.sources.replace [source]
          end
        end
      end