3

我正在尝试通过终端在远程服务器上使用 rvm 安装 ruby​​。
我正在关注此链接
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/

但在安装步骤我收到以下错误。我试图通过网络查找问题,但无法解决。请在这里帮助我。

$ rvm 安装 1.9.3

https://rvm.io/binaries/ubuntu/12.04/x86_64/ruby-1.9.3-p286.tar.bz2 - #configure<br>
ruby-1.9.3-p286 - #download<br>
ruby-1.9.3-p286 - #extract<br>
ruby-1.9.3-p286 - #validate<br>
**Libraries missing for ruby-1.9.3-p286: libruby.so.1.9. Refer to your system manual for installing libraries** <br>
Mounting remote ruby failed, trying to compile.<br>
Installing Ruby from source to: /home/ubuntu/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...<br>
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...<br>
ruby-1.9.3-p286 - #extracted to /home/ubuntu/.rvm/src/ruby-1.9.3-p286 (already extracted)
Patch cflags was already applied.<br>
ruby-1.9.3-p286 - #configuring<br>
ruby-1.9.3-p286 - #compiling<br>
Write failed: Broken pipe
4

1 回答 1

3

尝试先更新 rvm,这个问题应该已经解决了:

rvm get head
rvm reinstall 1.9.3

如果您仍然看到它在此处报告问题/错误:https ://github.com/wayneeseguin/rvm/issues

于 2012-11-05T15:15:03.257 回答