Update rakefile to support failures