Gem 淘宝源问题

pynix · 发布于 2014年5月21日 · 最后由 honeylz 回复于 2014年12月28日 · 3613 次阅读
9800

用--verbose参数看了一下

官方源的依赖使用api解析

淘宝源的api请求404了,所以需要下载一堆rz文件。。。。。。。如果不开--verbose参数的话就半天没反映,还以为假死了呢。。。。

能开个api吗?

共收到 8 条回复
De6df3

API 就会比较复杂,现在都是静态文件的,管理很方便

9800

#1楼 @huacnlee 但是下载量大啊,我看见一直在下载一系列版本得gemspec.rz。。。

De6df3

#2楼 @pynix 你提醒了哦,之前没注意这个文件,最初设计的时候,看安装没有问题就没管了。

最近想办法搞一下

De6df3

已经解决了

➜  ~  gem install rails -V
GET https://ruby.taobao.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://rubygems-china.oss.aliyuncs.com/latest_specs.4.8.gz
200 OK
GET https://ruby.taobao.org/quick/Marshal.4.8/rails-4.1.1.gemspec.rz
302 Moved Temporarily
GET https://rubygems-china.oss.aliyuncs.com/quick/Marshal.4.8/rails-4.1.1.gemspec.rz
200 OK
HEAD https://ruby.taobao.org/api/v1/dependencies
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=rails
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=activesupport
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=actionpack
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=actionview
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=activemodel
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=activerecord
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=actionmailer
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=railties
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=bundler
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=sprockets-rails
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=thread_safe
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=minitest
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=tzinfo
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=json
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=i18n
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=rack-test
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=rack
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=erubis
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=builder
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=arel
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=mail
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=thor
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=rake
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=sprockets
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=treetop
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=mime-types
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=tilt
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=multi_json
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=hike
200 OK
GET https://ruby.taobao.org/api/v1/dependencies?gems=polyglot
9800

#4楼 @huacnlee api请求代理到rubygems.org去了?

9800

#6楼 @huacnlee 好办法。。。

96

gemspec.rz 这些都是什么文件啊 为啥不断的请求这些文件呢?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册