From: Michael Edgar Date: 2011-06-18T04:52:53+09:00 Subject: Re: default config file location On Jun 17, 2011, at 3:49 PM, Jeremy Bopp wrote: > > According to the documentation for File.expand_path, all that is > required is that $HOME is set correctly. It doesn't apparently use the > shell to figure this out. Chad's method even works on Windows. :-) > > I might simplify this just a tiny bit though: > > File.expand_path("~/#{filename}") I use File.join for such situations due to separator differences. Is this unnecessary for some reason? Michael Edgar adgar@carboni.ca http://carboni.ca/