Possible solutions to improve rubygems for intrepid
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue Sep 16 08:42:01 BST 2008
On 15/09/08 at 21:51 -0400, Mathias Gug wrote:
> Hi,
>
> Here is a summary of the different solutions that have been discussed to
> fix bug 145267 [1] aka binaries installed by gems via the gem command
> are not on the PATH:
>
> 1. Provide binaries in /usr/local/bin:
>
> a. Via symlinks from /var/lib/gems/1.X/bin/: uses postinst hooks and
> update-alternatives. This is what the reverted upload implemented [2].
>
> b. Put binaries directly in /usr/local/bin instead of
> /var/lib/gems/1.X/bin/. This solution has been suggested by Lucas [3].
>
> Issues:
>
> * installed binaries could be overwritten by other installation
> systems and breaking binaries installed by the gem command. The gem
> sub-system would be less robust due to its links in /usr/local/bin/.
This is not different than manually installed software (using
./configure ; make ; make install), so it's unlikely to be a surprise
for the user.
Note that 1.a requires upgrading rubygems to a VCS snapshot (so hooks
can be used), while 1.b is a one-liner away.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20080916/5b6f045b/attachment.pgp
More information about the ubuntu-devel
mailing list