I’m working on Ubuntu 7.10, which presumably does things the Debian way.
I have loaded several gems without apparent problem, and I see them
sitting there in /var/lib/gems/1.8, which I understand is the Debian
place for them. But when I try to use one of them in ruby, e.g. if I
-:1:in `require’: no such file to load – image_science (LoadError)
So ruby apparently doesn’t know to look for them there. I’ve tried
defining RUBYLIB to ‘/var/lib/gems/1.8’ or ‘/var/lib/gems/1.8/gems’ or
/var/lib/gems’ with no improvement.
So my question is, how is ruby supposed to find the gems?
BTW I got ruby and gem by apt-get, so it’s a little surprising that they
aren’t configured to play with each other.