Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (30 sloc) 1.57 KB

What is this spec?

This spec is an attempt to push for a stable replacement of Ruby 1.8.x with 1.9.3+ on RHEL based systems. I have based it off of the work of FrameOS specs for Ruby 1.9.3 and Ruby Enterprise Edition.

How to install

RHEL/CentOS 5/6

yum install -y rpm-build rpmdevtools readline-devel ncurses-devel gdbm-devel tcl-devel openssl-devel db4-devel byacc libyaml-devel
cd ~/rpmbuild/SOURCES
cd ~/rpmbuild/SPECS
rpmbuild -bb ruby19.spec
ARCH=`uname -m`
rpm -Uvh ~/rpmbuild/RPMS/${ARCH}/ruby-1.9.3p125-1.ruby-1.9.3p125-1.${ARCH}.rpm


What it does

  • Builds
  • Installs
  • Overwrites/upgrades your currently installed ruby package (DANGEROUS)

What it does not do

  • Split packages into ruby-libs, ruby-devel, etc (looking for help here)
  • Install alongside Ruby 1.8.x

  • If you upgrade from an already installed 1.8.x, you will need to re-install all of your gems. If anyone has a decent way to do this programatically, i'll add it to the doc.


  • EPEL Yum repository (for rpmdev-setuptree)

Distro support

Tested working (as sane as I could test for) on:

  • CentOS 5.x x86_64

Personal thoughts

This is by no means, correct, or sane. Nor does it follow any sort of policy for packaging. I leave that to the people who are most familiar with such things, and will willingly accept patches that add those features.