On 8/16/07, Eric Hodel <[EMAIL PROTECTED]> wrote: > On Aug 16, 2007, at 05:30, Austin Ziegler wrote: > > On 8/15/07, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote: > >> On 8/14/07, Daniel Berger <[EMAIL PROTECTED]> wrote: > >>> Alexey Verkhovsky wrote: > >>>> There is no good place in Windows to keep system-wide overrides, > >>>> other > >>>> than the registry. > >>> Dir::COMMON_APPDATA => "C:\\Documents and Settings\\All > >>> Users\\Application Data" > >> > >> Ah, that's right. C:\\Documents and Settings\\All Users\\ is the > >> place. > > > > No, Dir::COMMON_APPDATA is the place. Those three names will be > > different in different languages. We should not assume a fixed > > location, after all ;) > > So File.join Dir::COMMON_APPDATA, 'RubyGems', 'mumble' > > Would be the right place to put RubyGems system-wide configuration?
I think so. So as to not depend on anything external, I'd recommend using the Win32API approach that Dan pointed out upthread. -austin -- Austin Ziegler * [EMAIL PROTECTED] * http://www.halostatue.ca/ * [EMAIL PROTECTED] * http://www.halostatue.ca/feed/ * [EMAIL PROTECTED] _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
