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

Re: Instructions to package a Ruby library



On Tue, Jul 02, 2002 at 11:11:50PM -0300, Pablo Lorenzzoni <spectra@debian.org> wrote...
> Hello ALL!
> 
> I am trying to package libhtml-template-ruby and I have one doubt:
> 
> The tarball installs the library (template.rb) under 
> /usr/local/lib/site_ruby/1.6/i386-linux/ (which is a standard for Ruby). I 
> just want to know if I should keep the library there or should I change it? 
> If you think I should change it, should I use /usr/lib/ruby/1.6/ or 
> /usr/lib/site_ruby/1.6/i386-linux/ (or something else)?

Defnetly not /usr/local (a package must not touch that) and since it's a
package that is distributed by the OS, you should (must?) use /usr/lib/ruby
and not /usr/lib/site_ruby, the latter being for stuff that the admin
installs himself manually.

Use something like `ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'`
to get that dir.

-- 
	Oliver M. Bolzer
	oliver@gol.com

GPG (PGP) Fingerprint = 621B 52F6 2AC1 36DB 8761  018F 8786 87AD EF50 D1FF


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: