【发布时间】:2013-03-20 00:36:44
【问题描述】:
我正在尝试安装 Ruby 版本管理器以安装 Ruby on Rails。
但是,我收到了这个错误。
$ curl -L get.rvm.io | bash -s stable --auto
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 8 0 0:00:23 0:00:20 0:00:03 562
100 11861 100 11861 0 0 251 0 0:00:47 0:00:47 --:--:-- 1974
Warning, --auto is deprecated in favor of --auto-dotfiles.
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 5 0 0:00:24 0:00:23 0:00:01 35
100 1631k 100 1631k 0 0 5867 0 0:04:44 0:04:44 --:--:-- 11223
Could not download 'https://github.com/wayneeseguin/rvm/archive/stable.tar.gz'.
curl returned status ''.
【问题讨论】:
-
你需要再试一次,我刚刚推送了一个修复,会显示 curl 的错误代码,然后你可以检查
man curl | grep '<the-errror-number>' -
现在居然没有报错。
-
我赌的是暂时的网络错误。
-
是的,可以。在这半小时的时间里,我尝试了 4-5 次。谢天谢地,它现在可以工作了。
-
代理后面,可能你忘了配置你的https_proxy
标签: rvm