# I cannot seem to find a simple way to install eruby on a cen

**URL:** <https://www.ruby-forum.com/t/i-cannot-seem-to-find-a-simple-way-to-install-eruby-on-a-cen/114380>\
**Category:** Ruby\
**Created:** [September 12, 2007, 12:32am UTC](https://www.ruby-forum.com/t/i-cannot-seem-to-find-a-simple-way-to-install-eruby-on-a-cen/114380 "2007-09-12T00:32:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [September 12, 2007, 12:32am UTC](https://www.ruby-forum.com/t/i-cannot-seem-to-find-a-simple-way-to-install-eruby-on-a-cen/114380/1 "2007-09-12T00:32:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/i-cannot-seem-to-find-a-simple-way-to-install-eruby-on-a-cen/114380/2 "2007-09-17T13:24:14Z")

</div>

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…?

> > xc

---

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [September 12, 2007, 4:47am UTC](https://www.ruby-forum.com/t/i-cannot-seem-to-find-a-simple-way-to-install-eruby-on-a-cen/114380/3 "2007-09-12T04:47:00Z")

</div>

Xeno C. wrote:

> xc  
> 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.
