Institutional Knowledge

Wherein we write down some stuff that we know.

Institutional Knowledge header image 2

HOWTO Install Fedora Ruby on RHEL

January 3rd, 2007 · No Comments

  1. Uninstall any RHEL packages associated with ruby (ruby, ruby-rdoc, ruby-ri, etc. rpm -qa | grep ruby will give you the whole list)
  2. Install the ruby source rpm (rpm -i ruby-1.8.5-3.fc6.src.rpm)
  3. Install any dependencies except for libX11-devel (the previous install step should give you the names of all the devel packages you need)
  4. Install xorg-x11-devel (up2date xorg-x11-devel) to satisfy needed X11 files
  5. build ruby (rpmbuild -bb --nodeps /usr/src/redhat/SPECS/ruby.spec)
  6. Install ruby (rpm -ivh /usr/src/redhat/RPMS/i386/ruby*)

You may want to specify a build target in the rpmbuild step, although I’m not sure how much performance gain you would get, especially if all the glibc libraries are i386.

Tags: HOWTO