Enter exactly following command $ gem source -r https://rubygems.org/ $ gem source -a http://rubygems.org/