s3.amazonaws.com是不是被墙了? gem 怎么下不到数据?


[root@localhost frozen]# gem install sqlite3 -V
GET https://api.rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
ERROR: 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.gz
302 Moved Temporarily
GET https://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
ERROR: Possible alternatives: sqlite3

gem ruby amazon-s3 ruby-on-rails

2621400 10 years, 4 months ago

一直用淘宝的镜像源
https://ruby.taobao.org/

GcYui answered 10 years, 4 months ago

本来就被墙了,你可以用淘宝的gem镜像。

松山爱妹妹 answered 10 years, 4 months ago

It seems u 2 right. Try http://gems.gzruby.org/ .

体外预应力 answered 10 years, 4 months ago

http://ruby.sdutlinux.org/ 山东理工大学的镜像

balneno answered 10 years, 4 months ago

Your Answer