我试图在我的机器上安装Ruby EE,但我无法.
ping production.cf.rubygems.org也有效.可能是什么问题?
prashanth@prashanth-laptop:~/Downloads$ rvm install ree
Installing Ruby Enterprise Edition from source to: /usr/local/rvm/rubies/ree-1.8.7-2011.03
ree-1.8.7-2011.03 - #fetching (ruby-enterprise-1.8.7-2011.03)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 184 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0Warning: Failed to create the file ruby-enterprise-1.8.7-2011.03.tar.gz
0 7713k 0 16150 0 0 3108 0 0:42:21 0:00:05 0:42:16 17497
curl: (23) Failed writing body (0 != 16150)
ERROR: There was an error, please check /usr/local/rvm/log/ree-1.8.7-2011.03/*.log. Next we'll try to fetch via http.
Trying http:// URL instead.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 184 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0Warning: Failed to create the file ruby-enterprise-1.8.7-2011.03.tar.gz
0 7713k 0 16150 0 0 4375 0 0:30:05 0:00:03 0:30:02 18692
curl: (23) Failed writing body (0 != 16150)
ERROR: There was an error, please check /usr/local/rvm/log/ree-1.8.7-2011.03/*.log
ERROR: There has been an error while trying to fetch the source.
Halting the installation.
Run Code Online (Sandbox Code Playgroud)
谢谢.
消息:
Warning: Failed to create the file ruby-enterprise-1.8.7-2011.03.tar.gz
Run Code Online (Sandbox Code Playgroud)
是你的线索.您正在运行机器范围的RVM安装,但尝试以没有root访问权限的用户身份安装新的ruby.
尝试:
rvmsudo rvm install ree
Run Code Online (Sandbox Code Playgroud)
或以root身份登录并重试该命令.
| 归档时间: |
|
| 查看次数: |
642 次 |
| 最近记录: |