[CentOS] recent ruby packages?

Craig White craig.white at ttiltd.com
Mon Feb 4 20:14:21 UTC 2013


On Feb 4, 2013, at 12:36 PM, John R Pierce wrote:

> On 2/4/2013 7:21 AM, m.roth at 5-cent.us wrote:
>> Does anyone know of a repository that's*trustworthy*  (gotta worry 'bout
>> malware) with newer ruby rpm's than RHEL has?
>> 
>> OT: the more I deal with ruby, the less I like it. Someone here was ready
>> to move to a newer version, and from the ruby.org website, they're
>> apparently actively hostile to all RH-related distros, even though we're
>> the most common in North America. They've got a how to do it from debian
>> and arch, how to use their own installer, and, oh, yes, they say a lot of
>> their community feels you should build from source.
>> 
>> Sorry, that's not my idea of a stable language that I'd ever recommend to
>> someone....
> 
> IMNSHO, Ruby is only suitable for prototyping and low volume uses. it 
> doesn't scale well, and  ruby/rails websites perform abysmally under 
> heavy workloads.
> 
> that said, the 'correct' way of dealing with something like this in the 
> RHEL world is to build whatever version you need for your purposes, test 
> it, and package it as your OWN rpm's for production deployment.
----
I don't normally quibble with your opinions but clearly you are dealing with anecdotal evidence (rather than first hand experience) of older versions.

Yes, twitter has moved some of the server engine to another platform but it's code base is still almost entirely RoR.

There are millions of popular, high trafficked web sites running RoR.

By the time you reach a point where scalability is a bottleneck (and all successful web sites do), you are already the next biggest thing and the options likely involve people whose technical skills that far exceed the original developer.

To the OP - If we are talking about CentOS 5.x and you are determined to use RPM packages, Google 'enterprise ruby' and install it (it's Ruby 1.8.7) It's not likely to get any more updates though. If you get off the need to have RPM packages, both rbenv & rvm install an alternate that downloads ruby source and compiles it for you and gives you sufficient shell modifications to make it appear somewhat seamless (I'm not promising the world here but it's not that difficult and my work has some CentOS 5.x still running enterprise-ruby-1.8.7 and everything newer has been Ubuntu 10.04 and either uses enterprise-ruby for 1.8.7 (becoming rare these days) and all new setups are rbenv and ruby 1.9.3-pXXX

Craig


More information about the CentOS mailing list