Is it possible to automatically precompile my assets in a Rails app before pushing out to Heroku? I always forget to do it, so it would be nice if when I typed git push he
You could always alias heroku
or something similar to rake assets:precompile ; git commit add . ; git commit -a -m "Precompile." ; git push heroku master
in your bash profile
ie
#in ~/.bash_profile
alias precompile_push='rake assets:precompile ; git commit add . ; git commit -a -m "Precompile." ; git push heroku master'