From: Jim Weirich Date: 2004-02-04T06:41:08+09:00 Subject: Re: Where to install data files? Marek Janukowicz said: > Where should I install data files for the library I wrote? They are > connected with .rb files, so they should stay in the same directory, but > setup.rb does not install anything but .rb files from lib/ subdirectory. > The default data dir (/usr/share on my Gentoo Linux) does not seems > appropiate, too (I want my library to be installed in one place). > > Maybe there should be something like java .jar files, which can contain > not only java class files, but also the resource files (corrent me if > I'm wrong)? You might consider creating a RubyGem. Each gems installs in its own directory. See http://rubygems.rubyforge.org/wiki/wiki.pl -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)