From: "M. Edward (Ed) Borasky" Date: 2007-09-06T07:32:52+09:00 Subject: Re: Compiling ruby-1.8.6 on CentOS-4.5 with readline and ope -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Byrne wrote: > James Byrne wrote: > > I have discovered that running ./configure with the options > --with-readline-dir=/usr and --with-openssl-dir=/usr seems to have > solved the missing readline and openssl support problem. Now I discover > that I can no longer find my installed gems. Sigh. > > So... I went to cd /usr/lib/ruby/gems/1.8/gems/rubygems-update-0.9.4 > and ran ruby setup.rb. Now I have to reload all of my gems I suppose > using gem install x --include-dependencies --remote. > > sigh. sigh... > I basically gave up trying to add open-source packages to RPM-based package management systems for just this reason. Either you stay within the repository system, or you don't. It's that simple. I haven't tried .deb-based systems recently, but the last time I did, I had similar problems. It's a bit better with Gentoo, since the packaging system is *designed* around source packages. The Gentoo Ruby herd is pretty active and most gems that are at all popular -- rake, rspec, rails, hpricot, etc. -- are packaged and show up in Gentoo "testing" within a few days of them hitting the Gem repository. If you need to stay with CentOS for some reason, at least upgrade to CentOS 5 if you can. I forget which Ruby is there -- it's either 1.8.5 or 1.8.6. Or switch to Fedora 7 -- it's much more up to date and has many more tested packages than CentOS or its RHEL parent. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3y6H8fKMegVjSM8RAvMxAJ4wiq6x1OQLsF/OtdirwpDYRgUuoQCfdVpb hkZunr4MmjjAXpoWjUQFyFE= =T+aR -----END PGP SIGNATURE-----