use Gem::RemoteFetcher to download from rubygems

@mattgillooly 

Fix the issue that downloads failed for valid urls to rubygems.