[DRE-maint] Bug#448639: Bug#448639: Bug#448639: rubygems: please install gems in /usr/local/lib/gems/1.8

Gunnar Wolf gwolf at gwolf.org
Wed Dec 19 18:56:05 UTC 2007


Shot (Piotr Szotkowski) dijo [Wed, Dec 19, 2007 at 02:44:39PM +0100]:
> > /usr/local is the area where the local
> > system administrator should unroll his mess.
> 
> Isn???t /opt for this? I never fully grasped the
> official FHS difference between /usr/local and /opt???

Umh... /usr/local is more traditional ;-) 

/usr/local/bin is in your default $PATH, /usr/local/lib in your
ldconfig... It just feels more natural. 

/opt is usually just a disorganized junkyard ;-) while /usr/local
looks like Unix.

> > In any case, /var is meant for variable data - things which are
> > prone to change by themselves (such as all kinds of databases). 
> 
> IIRC, the original reason for moving non-packaged gems out of /usr/lib
> was that /usr should be mountable read-only (e.g., over a network), and
> some gems tend to write into their own install directory.

Umh... If a gem requires writing something in its install directory
once it is installed, something is fundamentally wrong. BTW, remember
that gems (which are, after all, just libraries) are meant to be used
systemwide, be it by administrators or by regular system users!

-- 
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF






More information about the Pkg-ruby-extras-maintainers mailing list