class Bundler::Dsl

def normalize_source(source)

def normalize_source(source)
  case source
  when :gemcutter, :rubygems, :rubyforge
    Bundler.ui.warn "The source :#{source} is deprecated because HTTP " \
      "requests are insecure.\nPlease change your source to 'https://" \
      "rubygems.org' if possible, or 'http://rubygems.org' if not."
    "http://rubygems.org"
  when String
    source
  else
    raise GemfileError, "Unknown source '#{source}'"
  end
end