From: Tomas Matousek Date: 2010-07-30T07:19:44+09:00 Subject: [ruby-core:31541] [Bug #3630] File.expand_path doesn't expand content of HOME env. variable Issue #3630 has been updated by Tomas Matousek. That is Dir.chdir 'c:/temp' do ENV["HOME"] = '~' File.expand_path('~').should == 'c:/temp/~' end ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3630 ---------------------------------------- http://redmine.ruby-lang.org