问题描述
[root@localhost frozen]# gem install sqlite3 -VGET https://api.rubygems.org/latest_specs.4.8.gz302 Moved TemporarilyERROR: Could not find a valid gem ’sqlite3’ (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz)GET https://api.rubygems.org/prerelease_specs.4.8.gz302 Moved TemporarilyGET https://api.rubygems.org/specs.4.8.gz302 Moved TemporarilyGET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz200 OKERROR: Possible alternatives: sqlite3
问题解答
回答1:http://ruby.sdutlinux.org/ 山东理工大学的镜像
回答2:It seems u 2 right. Try http://gems.gzruby.org/ .
回答3:一直用淘宝的镜像源https://ruby.taobao.org/