From: Logan Capaldo Date: 2006-02-24T11:33:20+09:00 Subject: Re: Diakonos gem On Feb 23, 2006, at 9:23 PM, Pistos Christou wrote: > Logan Capaldo wrote: >> Speaking of the config file, is there a chance that the install could >> stick the config in $PREFIX/etc? > > If you use > > $ ./setup.rb --help > > it displays a plethora of path configuration options. Some that > may be > of interest to you: > > --prefix=PREFIX path prefix of target environment [usr] > --confdir=PREFIX directory for conf files [/etc] > --conf=PREFIX absolute directory for conf files [usr/etc] > > Diakonos only searches for a system-wide conf in the following places, > though: > > conf_dirs = [ > "/usr/local/etc/diakonos.conf", > "/usr/etc/diakonos.conf", > "/etc/diakonos.conf", > "/usr/local/share/diakonos/diakonos.conf", > "/usr/share/diakonos/diakonos.conf" > ] > > So if you put it somewhere besides one of those five locations, you'll > have to either specify the conf on the command line (with the > -c/--config option), or reference it inside your > ~/.diakonos/diakonos.conf file. > > HTH; > Pistos > > -- > Posted via http://www.ruby-forum.com/. > Yeah, basically what I was hoping for is diakonos to remember the prefix it was installed to and search accordingly. (I like to install things to /usr/local/$APP/, makes it easier to keep track of what belongs to what. Although at this point my path var is rather long :) )