有人可以向我解释一下吗?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