fixed test
use Dir.home for ruby 1.9+
Merge pull request #28 from heroku/homedir

use Dir.home for ruby 1.9+