Fixed the gen_deploy rake task.