Fix an error when heroku ttys to precompile assets