我有下一种麻烦。每个尝试我的本地系统,导致下一个错误上安装RVM:rvm安装问题
$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 5 0 0:00:25 0:00:20 0:00:05 184
100 125 100 125 0 0 3 0 0:00:41 0:00:41 --:--:-- 3Warning: Failed to create the file
Warning: /usr/local/rvm/archives/wayneeseguin-rvm-stable.tgz: Permission
Warning: denied
0 799k 0 2896 0 0 69 0 3:17:42 0:00:41 3:17:01 3880
curl: (23) Failed writing body (0 != 2896)
Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
curl returned status '23'.
如何更改安装目录从在/ usr /本地/我$ HOME目录?我试图手动更改脚本,但它没有给我带来任何成功。 Thx
你是否以root身份运行该命令? – 2012-02-10 22:20:52
如果我在root下运行这个脚本,它就可以了,并且将rvm安装到/ usr/local是成功的,但我不希望每次都在root或sudo下运行命令(如sudo gem ...,sudo rvm get。 ..等) – mart7ini 2012-02-11 00:05:47