update rakefile so that simple errors are caught