On 2010-07-30 06:57:25 +0900, Tomas Matousek wrote:
> "~a" should be considered a regular file name and as such should be prefixed with the current directory path like any other file name.

it shouldnt "~a" means "home directory of user 'a'". '~/' is just a
shorthand for '~<your username>/'

on linux you get:
> File.expand_path('~a')
ArgumentError: user a doesn't exist

maybe that user check is skipped on windows?

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org