How can I manage remote source for gem?

How can I add a remote source to my gem sources list? How can I remove a gem source from my gem remote sources?

For example, if you have added to RubyGems sources, how can you remove it?

To show current enabled gem sources, run,

$ gem sources


To Delete the specified gem source, you can run,

# gem sources -r

By the way, to add a gem source, run,

# gem sources -a added to sources

Leave a comment

Your email address will not be published. Required fields are marked *