简体   繁体   English

Ubuntu 11.10上的Ruby 1.8.7安装错误

[英]ruby 1.8.7 installation error on ubuntu 11.10

recently I re installed Ubuntu 11.10 and was trying to set my working ruby and rails framework. 最近,我重新安装了Ubuntu 11.10,并试图设置可以正常工作的ruby和rails框架。 But now I can not install 1.8.7 on my system. 但是现在我无法在系统上安装1.8.7。 I loaded RVM successfully, i hope. 我希望我成功加载了RVM。 The version it displays is 1.20.4. 它显示的版本是1.20.4。 But as I proceed to install my rubies it throws error as 但是当我继续安装红宝石时,它会抛出错误

No binary rubies available for: ubuntu/11.10/x86_64/ruby-1.8.7-p371. 没有适用于ubuntu / 11.10 / x86_64 / ruby​​-1.8.7-p371的二进制红宝石。 Continuing with compilation. 继续进行编译。 Please read 'rvm mount' to get more information on binary rubies. 请阅读“ rvm mount”以获取有关二进制红宝石的更多信息。

I have gone through so many online suggestion but nothing seems to work. 我已经通过了很多在线建议,但似乎无济于事。

Any ideas 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. 另外,当我使用已知的rvm list检查可用的红宝石版本时,它会显示可用的红宝石列表 ,其中1.8.7是其中之一,然后为什么会出现此错误,显示为无可用的二进制红宝石。 I need to have ruby 1.9.3 and 1.8.7. 我需要红宝石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/]

请参考链接http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/此教程可以完美地指导您使用Ruby在Ubuntu 11.10上设置

You can try to replace RVM with rbenv . 您可以尝试用rbenv替换RVM。 Did you try rbenv before? 您之前尝试过rbenv吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM