Redhat for Ruby 1.8.7有一个可靠的RPM源代码吗?

我看了,但我无法find最新的1.8.X版本的Ruby的RPM源。 那里有一个吗?

这是在服务器上运行一些pipe理脚本,而不是托pipe基于Ruby的网站,所以它不是任务关键,但服务器是。

Ruby 1.8.7包含在RHEL 6中。

如果你运行一个较旧的版本,那么你可以尝试下载相应的srpm并重新编译。

编辑:

从我的工作站:

$ rpm -qi ruby Name : ruby Relocations: (not relocatable) Version : 1.8.7.299 Vendor: Red Hat, Inc. Release : 5.el6_0.1 Build Date: Wed 17 Nov 2010 08:14:57 PM CET Install Date: Tue 01 Mar 2011 10:52:22 AM CET Build Host: x86-007.build.bos.redhat.com Group : Development/Languages Source RPM: ruby-1.8.7.299-5.el6_0.1.src.rpm Size : 1875128 License: Ruby or GPLv2 Signature : RSA/8, Fri 31 Dec 2010 06:34:12 AM CET, Key ID 199e2f91fd431d51 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.ruby-lang.org/ Summary : An interpreter of object-oriented scripting language Description : Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. $ $ cat /etc/redhat-release Red Hat Enterprise Linux Workstation release 6.0 (Santiago) $ 

看起来1.8.7将其作为最终版本,它可能在testing版中不存在。 如果你有红帽订阅,你应该能够得到它。 否则,最好的办法是等待CentOs,我想。

您可以从ruby/轨道咨询公司Endpoint下载ruby企业RPM。

ftp://ftp.ruby-lang.org/pub/ruby/1.8/

我意识到你问了一个RPM,但是从源代码构build起来很简单:./configure ./make ./make install

DONE