Comment 22 for bug 145267

Revision history for this message
Lucas Nussbaum (lucas) wrote : Re: [Bug 145267] Re: Add rubygems bin to PATH

On 28/05/08 at 14:59 -0000, Rocco Stanzione wrote:
> Can we nix the personal attacks please. I don't know what policy, if any, is responsible for this, but as far as I can tell no other package installs files in /usr/local/bin, and I don't think they should. See the FHS:
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY

Actually, you see it the wrong way. Gem (the package) should be
installed in /usr/bin. But files from gems, instead with the gem1.{8,9}
command, are not in any Debian package. And it's not reasonable at all
to install them in /usr/bin. (because, then, they could overwrite files
from Debian packages without warning).

> I figure there are 3 reasonable options, which could be checked against the packaging policies:
> * Install executables in /usr/bin

no, risks overwriting files from Debian packages.

> * Add the gem bin path to $PATH

forbidden by policy, not do-able in Debian

> * Install symlinks in /usr/bin

no, risks overwriting files from Debian packages.
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |