搜索

首页  >  问答  >  正文

ruby - 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

大家讲道理大家讲道理2774 天前919

全部回复(3)我来回复

  • 大家讲道理

    大家讲道理2017-04-22 09:01:24

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

    回复
    0
  • ringa_lee

    ringa_lee2017-04-22 09:01:24

    看来你2是对的。尝试http://gems.gzruby.org/.

    回复
    0
  • 巴扎黑

    巴扎黑2017-04-22 09:01:24

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

    回复
    0
  • 取消回复