class Gem::Commands::SourcesCommand
def remove_source(source_uri) # :nodoc:
def remove_source(source_uri) # :nodoc: if Gem.sources.include? source_uri Gem.sources.delete source_uri Gem.configuration.write say "#{source_uri} removed from sources" else say "source #{source_uri} not present in cache" end end