我有下一種麻煩。每個嘗試我的本地系統,導致下一個錯誤上安裝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