I cannot seem to find a simple way to install eruby on a centos develbox

X

Xeno Campanoli

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
 
M

M. Edward (Ed) Borasky

Xeno said:
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

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

Xeno Campanoli

M. Edward (Ed) Borasky said:
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...?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top