From: Xeno Campanoli Date: 2007-09-14T06:27:36+09:00 Subject: Re: I cannot seem to find a simple way to install eruby on a centos devel box M. Edward (Ed) Borasky wrote: > > How bad would the impact be if you upgraded to CentOS 5? It has Ruby > 1.8.6, I think, and IIRC it has Rake and RubyGems as well, so you can > pull in all the Ruby packages you need. I've forgotten which Fedora > corresponds to CentOS/RHEL 4, but 1.8.1 is IMHO a hopelessly ancient Ruby. > I took your suggestion. CentOS has Ruby 1.8.5, NOT 1.8.6, but that's still an improvement. It also has eruby, as you said. I haven't tried it out yet, but it's there. One thing I wonder, however, is how I add things like hpricot or an XML parser, as ruby-gems is not there, and these things are supposed to be installed with yummy package managers, which appear to be incomplete for Ruby stuff...? > Xeno Campanoli wrote: >> My box has a 2.6.9-55.0.6.EL kernel, but Centos only wants to give me a >> 1.8.1 ruby, and yum doesn't see an eruby. Yum did get an erb, but it >> looks to me like that is old hat. Can I just treat the erb as eruby and >> put it in my cgi-bin (the directions for eruby install in my pickaxe >> says put it in the cgi-bin)? Or even better, does someone know an RPM >> that is known to work? I googled a link for a Fedora core one, but I >> would like one that is known to go well on this Centos. I pulled down >> the tar.gz file thing from a site and it is complaining when I run the >> configure.rb file that there are missing headers (presumably mkmf.rb). >> >> xc > -- The only sustainable organizing methods focus not on scale, but on good design of the functional unit, not on winning battles, but on preservation.