From: Erik Veenstra Date: 2005-07-12T15:20:49+09:00 Subject: Re: installation of files > Normally all files are installed in e.g. > /usr/lib/ruby/1.8/site_ruby/programname/. Not all files are installed in site_ruby. Only common library files should be placed here. Files which belong to one application should be placed in one directory tree. > Shouldn�t program files be installed in /usr/bin? Or maybe > installing the files to: /usr/local/programname? That's good if you want your application to only run on Linux. It's not good if you want your application to be more platform agnostic. If you want stick to FHS, you could append a private library path to LOAD_PATH: dirname, basename = File::split(File::expand_path(__FILE__)) $: << File.expand_path("../lib/#{basename}/libs", dirname) > But this isn�t what I am looking for. What is it what you're looking for?... ;) > What is the official target for such files, which are not > libraries and shouldn�t be accessed by any other program? I've written down my ideas about building and distributing Ruby applications [1], as well as implemented some of the ideas [2, 3] By the way, it's not official... gegroet, Erik V. - http://www.erikveen.dds.nl/ [1] http://www.erikveen.dds.nl/distributingrubyapplications/index.html [2] http://www.erikveen.dds.nl/tar2rubyscript/index.html [3] http://www.erikveen.dds.nl/rubyscript2exe/index.html