Hello, I'm trying to verify the behavior of File.expand_path ~username: ``<code>~</code><i>user</i>`` expands to the named user's home directory. File.expand_path("~oracle/bin") #=3D> "/home/oracle/bin" But on Windows, it consistently result in ArgumentError: >> File.expand_path "~" =3D> "C:/Users/Luis" >> File.expand_path "~Luis" ArgumentError: can't find user Luis The problem seems to be caused by Dir.home (and rb_home_dir) which results on nil for any parameter supplied to it: >> Dir.home =3D> "C:/Users/Luis" >> Dir.home "Luis" =3D> nil I couldn't find any particular test in test/test_dir.rb that exercises this particularity. Can we consider is a Ruby platform limitation? Is there interest on this get corrected? Thank you. --=20 Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup=E9ry