2013-08-29 174 views
0

我想在我的Ubuntu箱安裝Ruby 2.0和我不斷收到以下:在Ubuntu 12.04.1安裝Ruby 2.0.0-P247 LTS

[email protected]_NAME:/var/www/FOLDER_NAME$ rvm get stable && rvm install ruby-2.0.0 
ERROR: Unknown ruby interpreter version: '2.0.0' 
Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-2.0.0-p247, this may take  a while depending on your cpu(s)... 

ruby-2.0.0-p247 - #fetching 
ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, this may take a while depending on your connection... 
curl: (3) <url> malformed 
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-2.0.0-p247/*.log.  Next we'll try to fetch via http. 
Trying http:// URL instead. 
curl: (3) <url> malformed 
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-2.0.0-p247/*.log 
ERROR: There has been an error while trying to fetch the source. 
Halting the installation. 
ERROR: There has been an error fetching the ruby interpreter. Halting the installation. 

日誌它也提到不存在。此外,如果這有助於在所有當我運行:

rvm requirements 

我回來

ERROR: Unrecognized command line argument: 'requirements' (see: 'rvm usage') 

我還沒有見過

+0

它在日誌中說什麼? – iamnotmaynard

+0

日誌不存在,抱歉忘了提及。 – jwilcox09

回答

4

原來我RVM被淘汰,因爲我用了APT-從rvm.io直接安裝ruby-rvm而不是curl,所以重新安裝rvm的確有竅門。

+0

謝謝....我感謝你。 – Aerovistae

相關問題