From: Intransition Date: 2012-01-05T14:39:38+09:00 Subject: Re: organizing a complex gem ------=_Part_183_22245304.1325741974853 Content-Type: multipart/alternative; boundary="----=_Part_184_22060273.1325741974858" ------=_Part_184_22060273.1325741974858 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Use dot directory: $HOME/.yourappname/ In there the end-user can edit a `config` file (maybe config.yml, or config.rb or whatever the appropriate extension). And also the data files you mention can go there too, e.g. `$HOME/.yourappname/foo.dat`. Also, consider using XDG base directory standard, which would give your end-user some flexibility in deciding where these files reside. The modules themselves would go into lib/, e.g. `lib/myapp/extensions/`. ------=_Part_184_22060273.1325741974858 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Use dot directory:

  $HOME/.yourappname/

In there the end-user can edit a `config` file (maybe config.yml, or config.rb or whatever the appropriate extension). And also the data files you mention can go there too, e.g. `$HOME/.yourappname/foo.dat`.

Also, consider using XDG base directory standard, which would give your end-user some flexibility in deciding where these files reside.

The modules themselves would  go into lib/, e.g. `lib/myapp/extensions/`.


------=_Part_184_22060273.1325741974858-- ------=_Part_183_22245304.1325741974853--