Journey in RPM packaging
I had to package nginx and modrails for CentOS 5, it was a painfull process, achieved with some fairly ugly hacks, but it works.
In the process, I also repackaged ruby enterprise edition (simple rebuild from this one ) and the needed gems, based on ruby-enterprise. See this mail about using this package of Ruby Enterprise.
Here are the RPMS and the SRPMS. You can use them with yum, simply cut/paste this into
/etc/yum.repos.d/twisla.repo
[twisla] name=twisla's nginx/ruby packages baseurl=http://stuff.twis.la/rpm gpgcheck=0