Also check heroku logs for details.
ALWAYS ALWAYS ALWAYS use your heroku logs if you have a problem in #scripting-support.
If you don’t include your log file in your heroku scripting support post, it will waste my time asking you to show us the log file and waste your time waiting for us to respond.
It also helps us find the issue quicker.