开发者

CentOS 5.4 and Rubyworks -- its getting old

The Rubyworks repository is a great solution to getting a newer version of the ruby stack installed on CentOS, however, its beginning to show its age with ruby 1.8.6 (2007-09-24 patchlevel 111)...

Are there other repos or up-to开发者_如何学JAVA-date packages already built for CentOS out there or must I resort to compiling from source?


I've found this repo that seems to be well maintained: http://rbel.frameos.org/

To install ruby 1.9 the way it would get updated by yum on my CentOS 5.6 I did:

# rpm -Uvh http://rbel.co/rbel5
# yum install ruby19


I asked myself the same question some weeks ago, but my solution is to compile ruby 1.9 from source. It's really easy and doesn't need tons of deps.

You need only those two commands :

  • yum groupinstall 'Development Tools'
  • yum install readline-devel

Then compile rubygems, there is really cool tutorials on Internet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜