I\'m trying to add http://rubygems.org/ in my sources because I can\'t use \'gem install NAME\' (this error : Could not find a valid gem \'dashing\' (>= 0) in any repository).
In such cases, I directly make changes to my Gem Config file. Here is an updated version of ~/.gemrc:
~/.gemrc
--- :backtrace: false :bulk_threshold: 1000 :sources: - http://rubygems.org :update_sources: true :verbose: true
Here's how to verify:
$ gem sources http://rubygems.org/