class Bundler::Source::Rubygems
def initialize(options = {})
def initialize(options = {}) @options = options @uri = options["uri"].to_s @uri = "#{uri}/" unless @uri =~ %r'/$' @uri = URI.parse(@uri) unless @uri.is_a?(URI) raise ArgumentError, "The source must be an absolute URI" unless @uri.absolute? end