gpt4 book ai didi

ruby - 使用 rvm 在 Ubuntu 12.4 中安装 ruby​​ 时缺少 lib 'libruby.so.1.9' 错误

转载 作者:数据小太阳 更新时间:2023-10-29 08:00:54 34 4
gpt4 key购买 nike

我正在尝试通过终端在远程服务器上使用 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

最佳答案

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

rvm get head
rvm reinstall 1.9.3

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

关于ruby - 使用 rvm 在 Ubuntu 12.4 中安装 ruby​​ 时缺少 lib 'libruby.so.1.9' 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13229647/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com