Removed etc from gemspec. Used #with_env in spec test. Changed #set_home to #default_home. Used #getpwnam to comply with ruby 1.8.7 lack of Dir.home