On 9/13/07, Glen Holcomb <damnbigman / gmail.com> wrote: > On 9/13/07, Glen Holcomb <damnbigman / gmail.com> wrote: > > > > On 9/13/07, Trans <transfire / gmail.com> wrote: > > > > > > I have a little app that needs to store session data. I assume the > > > best place to store it is in one's home directory, but I need this app > > > to be cross-platform. I glanced through all rbconfig.rb's > > > Config::CONFIG settings but did not see anything for it. How does one > > > access a cross-platform home directory? > > > > > > Thanks, > > > T. Rubygems has a method for finding this: C:\>irb -rubygems >> Gem.user_home => "C:\\Documents and Settings\\gthiesfeld"