Use Dir.home to avoid platform dependency
Use Dir.home to avoid platform dependency

On Solaris 10, `echo ~#{ENV['USER']}` As expected

git-svn-id: ab86ecd26fe50a6a239cacb71380e346f71cee7d@66176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

eregon/rubyspec,ruby/rubyspec,nobu/rubyspec,eregon/rubyspec,ruby/spec,ruby/spec,ruby/spec,nobu/rubyspec,ruby/rubyspec,eregon/rubyspec,nobu/rubyspec