ubuntu 11.10上的ruby 1.8.7安装错误

时间:2022-10-17 14:40:29

recently I re installed Ubuntu 11.10 and was trying to set my working ruby and rails framework. But now I can not install 1.8.7 on my system. I loaded RVM successfully, i hope. The version it displays is 1.20.4. But as I proceed to install my rubies it throws error as

最近我重新安装了Ubuntu 11.10,并试图设置我的工作ruby和rails框架。但现在我无法在我的系统上安装1.8.7。我希望,我成功加载了RVM。它显示的版本是1.20.4。但是当我继续安装我的红宝石时,它会抛出错误

No binary rubies available for: ubuntu/11.10/x86_64/ruby-1.8.7-p371. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.

没有可用的二进制红宝石:ubuntu / 11.10 / x86_64 / ruby​​-1.8.7-p371。继续编译。请阅读'rvm mount'以获取有关二进制红宝石的更多信息。

I have gone through so many online suggestion but nothing seems to work.

我已经经历了如此多的在线建议,但似乎没有任何效果。

Any ideas guyz???

任何想法guyz ???

Also when I check the available ruby versions using rvm list known, it displays the list of rubies available and 1.8.7 is among one of them, then why this error appears as No binary rubies available. I need to have ruby 1.9.3 and 1.8.7.

此外,当我使用已知的rvm列表检查可用的ruby版本时,它会显示可用的rubies列表,其中一个是1.8.7,那么为什么此错误显示为No binary rubies available。我需要ruby 1.9.3和1.8.7。

kumar@Jarvis-Dell-XPS-L502X:~$ rvm install ruby-1.8.7
Searching for binary rubies, this might take some time.

No binary rubies available for: ubuntu/11.10/x86_64/ruby-1.8.7-p371.
Continuing with compilation. Please read 'rvm mount' to get more information on binary  rubies.

Installing requirements for ubuntu, might require sudo password.
Hit http://it.archive.ubuntu.com oneiric Release.gpg
Hit http://it.archive.ubuntu.com oneiric-updates Release.gpg

kumar@Jarvis-Dell-XPS-L502X:~$ rvm -v
rvm 1.20.4 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis       <mpapis@gmail.com> [https://rvm.io/]

2 个解决方案

#1


0  

Please refer the link http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/ this tutorial guides you perfectly for your Ruby Set up on Ubuntu 11.10

请参阅链接http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/本教程将指导您完美的Ruby在Ubuntu 11.10上设置

#2


-1  

You can try to replace RVM with rbenv. Did you try rbenv before?

您可以尝试使用rbenv替换RVM。你之前尝试过rbenv吗?

#1


0  

Please refer the link http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/ this tutorial guides you perfectly for your Ruby Set up on Ubuntu 11.10

请参阅链接http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/本教程将指导您完美的Ruby在Ubuntu 11.10上设置

#2


-1  

You can try to replace RVM with rbenv. Did you try rbenv before?

您可以尝试使用rbenv替换RVM。你之前尝试过rbenv吗?

相关文章