rake task force exit(1) when an error occurs (close #3)