简体   繁体   English

在Linux上还没有apt-get install ruby​​1.9.2吗?

[英]There is no apt-get install ruby1.9.2 yet on Linux?

The page http://www.ruby-lang.org/en/downloads/ only says 1.9.1 for Linux. 页面http://www.ruby-lang.org/en/downloads/仅针对Linux说1.9.1。

Right now I am using RVM to do an 现在我正在使用RVM做一个

rvm install 1.9.2

and it needs compilation. 它需要编译。 There is no apt-get install way to install it? 有没有apt-get安装方式来安装它?

Is there a way to list all Ruby version apt-get can install? 有没有办法列出所有Ruby版本apt-get可以安装?

To list available versions you can use the following command: 要列出可用版本,可以使用以下命令:

 apt-cache search --names-only '^ruby1.*'

If you use Debian, 1.8, 1.9, 1.9.1 are availble on testing. 如果您使用Debian,则可以使用1.8,1.9,1.9.1进行测试。 1.9.2 is only available on unstable. 1.9.2仅适用于不稳定。

in debian squeeze and sid the 1.9.1 package is in fact based on the 1.9.2 branch according to this search: http://packages.debian.org/search?keywords=ruby1.9.1&searchon=names&suite=all&section=all 在debian squeeze和sid 1.9.1包实际上是基于1.9.2分支根据这个搜索: http ://packages.debian.org/search?keyword = ruby​​1.9.1&searchon = names&suite = all&section = all

and the changelog says that too: http://packages.debian.org/changelogs/pool/main/r/ruby1.9.1/ruby1.9.1_1.9.2~svn28788-1/changelog 并且更改日志也说: http//packages.debian.org/changelogs/pool/main/r/ruby1.9.1/ruby1.9.1_1.9.2~svn28788-1/changelog

它只用了3个星期,给它一些时间:P

你可以为ruby1.9.1做到这一点

ruby1.9.1-dev

rvm now supports binary rubies, so there is no need to compile: rvm现在支持二进制rubies,所以不需要编译:

rvm get head # this change will be available in rvm 1.16
rvm list remote
rvm mount 1.9.3

only ruby 1.9.3 is good for installing in relative paths so do not expect earlier versions to be available (for other path then /usr/local/rvm). 只有ruby 1.9.3适合安装在相对路径中,所以不要指望早期版本可用(对于其他路径,然后是/ usr / local / rvm)。

if rvm list remote was empty then let me know what is your system rvm info , you can find me on irc mpapis at #rvm at freenode servers or open a ticket here: https://github.com/wayneeseguin/rvm/issues/new 如果rvm list remote是空的那么让我知道你的系统rvm info是什么,你可以在freenode服务器的#rvm上找到irc mpapis或在这里打开一张票: https//github.com/wayneeseguin/rvm/issues/新

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

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