From: David Masover Date: 2011-06-06T12:44:33+09:00 Subject: Re: Changes for Ruby in Debian (and Ubuntu) On Sunday, June 05, 2011 08:36:59 PM Eric Christopherson wrote: > On Sun, Jun 5, 2011 at 7:24 PM, Iņaki Baz Castillo wrote: > > 2011/5/25 Eric Christopherson : > >> Do the other files belonging to gems still get installed under /var? > > > > I've never understood why libraries should be installed under /var > > directory. /usr/lib/ exists for that: for storing libraries. /var si > > supposed to contain dynamic content (cache files, logs, mails, PID > > files, daemons sockets, and so no, but not libraries). > > As I understand it, they're not in /usr/bin because they're not > installed by the package manager. That much I can agree with. But I > would put them in /usr/local. I'd actually agree with that, if it was a version Rubygems I installed myself. Stuff I install myself should always go somewhere like /usr/local -- somewhere easy to integrate with the system, but somewhere I know the system package manager won't touch. But this isn't quite that, it's another package manager. I'm really not sure what the FHS has to say about that. Honestly, I think Gobo and Gentoo have the best approach. I know Gentoo had something for CPAN, but Gobo has an entire system in place which allows them to easily add third-party package managers, and have their own packages depend on those third-party packages. That's the sort of thing that makes me embarrassed to be using a distro like Ubuntu -- why do I have tons of packages called libruby-foo, which are a Ruby library (often a gem) repackaged as dpkg, when I already have rubygems to do the work?