通过RVM安装MRI时出现卷曲错误

时间:2012-06-06 18:04:18

标签: ruby curl rvm

有人可以向我解释一下吗? RVM安装正确,但是当我想通过RVM安装MRI Ruby时,我收到了这个错误。

[user@p31]~% rvm install 1.9.3
Installing Ruby from source to: /path/to/user/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...

ruby-1.9.3-p194 - #fetching 
ruby-1.9.3-p194 - #downloading ruby-1.9.3-p194, this may take a while depending on your connection...

curl: (7) couldn't connect to host
There was an error, please check /path/to/user/.rvm/log//*.log. Next we'll try to fetch via http.
Trying ftp:// URL instead.

curl: (7) couldn't connect to host
There was an error, please check /path/to/user/.rvm/log//*.log
There has been an error while trying to fetch the source.  
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.

我在bash,zsh和csh中遇到同样的错误。

我的extract.log只有一行。

tar xmzf /u/b/ogbuluij/.rvm/archives/yaml-0.1.4.tar.gz -C /u/b/ogbuluij/.rvm/src --no-same-owner

0 个答案:

没有答案