On 28/05/08 at 14:25 -0000, Neil Wilson wrote:
> 2008/5/28 Lucas Nussbaum <email address hidden>:
>
> > Installing to /usr/local/bin could sound acceptable to me. Not sure if
> > that will be acceptable for the other ruby maintainers in Debian.
>
> Could this be solved with the alternatives system I wonder. The gem
> installations are after all alternatives to apt packages.
That would require hacking rubygems quite deeply. If rubygems provided
some hooks that we could use to implement distro-specific stuff, why
not. But it's not the case, AFAIK.
It could bite us back, by breaking things in subtle ways.
What is the problem with installing to /usr/local/bin? It's in the
default system path, and it's before /usr/bin and /bin.
> That way it would work with gem1.9 as well. Apt packages could
> override with a higher priority.
If we install to /usr/local/bin, and you gem1.9 update --system, you
will get a new gem executable in /usr/local/bin, that will "override"
(by precedence in the path) Debian's.
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |
On 28/05/08 at 14:25 -0000, Neil Wilson wrote:
> 2008/5/28 Lucas Nussbaum <email address hidden>:
>
> > Installing to /usr/local/bin could sound acceptable to me. Not sure if
> > that will be acceptable for the other ruby maintainers in Debian.
>
> Could this be solved with the alternatives system I wonder. The gem
> installations are after all alternatives to apt packages.
That would require hacking rubygems quite deeply. If rubygems provided
some hooks that we could use to implement distro-specific stuff, why
not. But it's not the case, AFAIK.
It could bite us back, by breaking things in subtle ways.
What is the problem with installing to /usr/local/bin? It's in the
default system path, and it's before /usr/bin and /bin.
> That way it would work with gem1.9 as well. Apt packages could
> override with a higher priority.
If we install to /usr/local/bin, and you gem1.9 update --system, you www.lucas- nussbaum. net/ |
will get a new gem executable in /usr/local/bin, that will "override"
(by precedence in the path) Debian's.
--
| Lucas Nussbaum
| <email address hidden> http://
| jabber: <email address hidden> GPG: 1024D/023B3F4F |