2011-04-12 83 views
5

我試圖做到這一點安裝RVM:在Ubuntu 10.10錯誤

bash < <(curl http://rvm.beginrescueend.com/releases/rvm-install-head) 

,但我不斷收到此錯誤

bash: line 1: html: No such file or directory 
bash: line 2: syntax error near unexpected token `<' 
'ash: line 2: `<head><title>301 Moved Permanently</title></head> 

這是怎麼回事?

+0

該命令是安裝RVM,而不是Rails。你想安裝哪個? – 2011-04-12 03:03:56

回答

10

安裝RVM的URL最近被更改爲使用HTTPS,所以現在的命令是:

\curl -L https://get.rvm.io | bash -s stable 

然而,你應該始終閱讀up-to-date RVM installation docs爲當前命令。

0

我在嘗試在osx上安裝rvm時遇到了同樣的錯誤。我終於得到它從https://rvm.io/install/rvm下載「RVM」文件並運行它,像這樣的工作:SH RVM