2011-09-27 114 views
0

当我尝试安装RVM以下错误显示出来:在Ubuntu 11.04上安装RVM时出错。似乎是混帐克隆的错误

$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) 
Cloning into rvm... 
fatal: The remote end hung up unexpectedly 
Cloning into rvm... 
error: RPC failed; result=56, HTTP code = 100 
fatal: The remote end hung up unexpectedly 

ERROR: Unable to clone the RVM repository, attempted both git:// and https:// 

这是一个错误git clone我最近得到。例如,当我尝试克隆nodejs时。

error: RPC failed; result=56, HTTP code = 100 
fatal: The remote end hung up unexpectedly 

什么问题?

+0

适用于我... 服务器或网络问题在您身边的暂时问题? –

+0

该用户没有回应,猜猜他是否得到了答案:) – Bulvak

+0

这似乎是我的ISP的问题!谢谢大家 –

回答

1

这似乎是你有某种网络问题,阻止你 检索Git存储库。 RVM script尝试 克隆存储库首先使用 git clone --depth 1 git://github.com/wayneeseguin/rvm.git,如果失败, 使用git clone https://github.com/wayneeseguin/rvm.git。 Git使用 libcurl。​​错误的result=56部分是 libcurl error code; 56表示Failure with receiving network data.HTTP code = 100部分是HTTP server status code, 已退还给您; 100表示The client SHOULD continue with its request.

您最好的选择可能是启动网络流量嗅探器 (在Ubuntu,你可以使用Wireshark)查看数据包是什么 传输工作站上/接收。尝试在您的网络和不同网络上的不同工作站上安装RVM。我的机器上没有任何问题。