Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@xiaorui
Member
NO. 13730 / 2014-06-19

1 Topics / 7 Replies
0 Followers
0 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 27, 2015

    #12 楼 @qhwa

    执行后 [root@CentOS ~]# curl -LI https://ruby.taobao.org/specs.4.8.gz HTTP/1.1 302 Moved Temporarily Server: nginx/1.4.7 Date: Tue, 27 Oct 2015 03:36:23 GMT Content-Type: text/html Content-Length: 160 Connection: keep-alive Location: https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/specs.4.8.gz

    HTTP/1.1 200 OK Server: AliyunOSS Date: Tue, 27 Oct 2015 03:36:29 GMT Content-Type: application/gzip Content-Length: 2585617 Connection: keep-alive x-oss-request-id: 562EF13DB295346D4CF15B4F Accept-Ranges: bytes ETag: "43C7E162D73A0E192DDB4770903E3245" Last-Modified: Tue, 27 Oct 2015 03:31:21 GMT x-oss-object-type: Normal

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    这台服务器是在内网,通过 nat 上网,这个有直接些影响吗?

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    #9 楼 @huacnlee 报错如下,提示没有源 [root@CentOS etc]# gem install rails -V ERROR: Could not find a valid gem 'rails' (>= 0) in any repository

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    #7 楼 @huacnlee curl https://ruby.taobao.org执行之后,显示的是页面源码,这样对吗?

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    #4 楼 @easonlovewan #3 楼 @alphaliu

    尝试 ping ruby.taobao.org 可以 ping 通。

    [root@CentOS etc]# ping ruby.taobao.org PING ruby.taobao.org (223.6.253.37) 56(84) bytes of data. 64 bytes from 223.6.253.37: icmp_seq=1 ttl=33 time=60.4 ms 64 bytes from 223.6.253.37: icmp_seq=2 ttl=33 time=57.3 ms 64 bytes from 223.6.253.37: icmp_seq=3 ttl=33 time=57.8 ms 64 bytes from 223.6.253.37: icmp_seq=4 ttl=33 time=57.4 ms 64 bytes from 223.6.253.37: icmp_seq=5 ttl=33 time=59.7 ms 64 bytes from 223.6.253.37: icmp_seq=6 ttl=33 time=57.4 ms 64 bytes from 223.6.253.37: icmp_seq=7 ttl=33 time=57.4 ms

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    #4 楼 @easonlovewan 尝试 ping ruby.taobao.org 可以 ping 通。

    [root@CentOS etc]# ping ruby.taobao.org PING ruby.taobao.org (223.6.253.37) 56(84) bytes of data. 64 bytes from 223.6.253.37: icmp_seq=1 ttl=33 time=60.4 ms 64 bytes from 223.6.253.37: icmp_seq=2 ttl=33 time=57.3 ms 64 bytes from 223.6.253.37: icmp_seq=3 ttl=33 time=57.8 ms 64 bytes from 223.6.253.37: icmp_seq=4 ttl=33 time=57.4 ms 64 bytes from 223.6.253.37: icmp_seq=5 ttl=33 time=59.7 ms 64 bytes from 223.6.253.37: icmp_seq=6 ttl=33 time=57.4 ms 64 bytes from 223.6.253.37: icmp_seq=7 ttl=33 time=57.4 ms

  • 小白添加 gem 源始终报错,无法添加,该怎么破? at October 26, 2015

    #1 楼 @alphaliu https://ruby.taobao.org/可以打开没问题。

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English