* Antony Lesuisse ([EMAIL PROTECTED]) 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 <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6 -----BEGIN GEEK CODE BLOCK----- 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+ ------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature