RVM写入正文失败

时间:2013-10-10 23:11:51

标签: ruby terminal rvm

我正在尝试在运行最新操作系统的Mac上安装RVM。

我第一次尝试

$ \curl -L https://get.rvm.io | bash -s stable
Cannot open for reading: "stable"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    181      0  0:00:01  0:00:01 --:--:--   181
100 15779  100 15779    0     0  11505      0  0:00:01  0:00:01 --:--:-- 98618
(23) Failed writing body

然后我尝试放弃stable

$ \curl -L https://get.rvm.io | bash -s
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47)
Argument missing after: "-s"
More info with: "vim -h"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    148      0  0:00:01  0:00:01 --:--:--   148
100 15779  100 15779    0     0   7706      0  0:00:02  0:00:02 --:--:-- 30698
(23) Failed writing body

我也尝试了以下

$ \curl -L https://get.rvm.io | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Vim:    Warning: Input is not from a terminal
100   184  100   184    0     0    111      0  0:00:01  0:00:01 --:--:--   111
100 15779  100 15779    0     0   8689      0  0:00:01  0:00:01 --:--:-- 8300k
Vim: Error reading input, exiting...
Vim: preserving files...
Vim: Finished.

1 个答案:

答案 0 :(得分:1)

\curl -L https://get.rvm.io | bash怎么样?

installation page for RVM是必读的。