Possible solutions to improve rubygems for intrepid
lucas at lucas-nussbaum.net
Tue Sep 16 08:42:01 BST 2008
On 15/09/08 at 21:51 -0400, Mathias Gug wrote:
> Here is a summary of the different solutions that have been discussed to
> fix bug 145267  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 .
> b. Put binaries directly in /usr/local/bin instead of
> /var/lib/gems/1.X/bin/. This solution has been suggested by Lucas .
> * 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
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