[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Common Position on RubyGems, stupid? what about /usr/local/ ?

* Antony Lesuisse (spam-debian@udev.org) wrote:
> Reading http://pkg-ruby-extras.alioth.debian.org/rubygems.html was
> disappointing.
> I might be completely wrong but i would like to know what you think about
> this idea. I noticed that the ruby1.8 install supports the directory:
> 	/usr/local/lib/site_ruby/1.8
> So what about packaging a version of rubygems with its files in:
> 	/usr/lib/ruby/1.8/rubygems.rb
> 	/usr/lib/ruby/1.8/rubygems/*
> 	/usr/bin/gem
> 	...
> BUT this version would be configured to install and consume downloaded gems 
> into:
> 	/usr/local/lib/site_ruby/1.8/gems
> The package is compliant (at installation only it only add an empty dir in
> /usr/local).

Indeed, this is the right approach. Only dpkg should be installing
things into /usr/lib. 
> Admin takes full reponsabilty about rubygem. On purge rubygem only remove 
> its
> files in /usr/lib.
> I consider rubygem as package similar to wget. I don't expect dpkg -P wget
> to remove files i have downloaded when i typed:
> 	wget -O /usr/local/somefile http://some/url
> What do you think about that ?

Eric Dorland <eric@kuroneko.ca>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 

Attachment: signature.asc
Description: Digital signature

Reply to: