If I did have a time machine, I’d be spending a lot of my life getting slapped in the face by my future self.
Last week I spent far too long debugging why Heroku was refusing to accept my rails app when I did a “
git push heroku master”. I had all sorts of theories and learned about the various reasons Heroku has for saying “Heroku push rejected, no Cedar-supported app detected”. The actual reason? I was on a local git branch and Heroku was being pushed to from my master branch, which was not a rails app.
Incidentally, future Mike, if you do want to push from a non-master branch (e.g. “stuff”), then do this:
git push heroku stuff:master