What is the recommended way to undo a bad heroku deploy?  I push
something that causes "App failed to start" error.  Afaik, the fastest
way to fix that would be:

git push heroku mybranch:master --force

Is there a way for git to push a commit instead of a branch?
Otherwise It seems better to deploy from call it a "deploy" branch and
then merge changes into master if they deploy cleanly.

Also, there seems to be a bug with the .gems to bundler transition.
The .gems manifest gems were uninstalled after switching to Bundler.
But Bundler introduced an error (in my case, require fails for one of
the gems)...  Having to rollback to a running app (maintenance mode
doesn't fix such errors), I force-push older code.  But, since
the .gems manifest is the same, all the gems turn out missing.  Now I
have to push a fake commit that modifies the .gems file (so that it
gets "detected" & thus the gems get reinstalled).  Perhaps an explicit
"heroku gems reinstall" command I haven't spotted?

On a separate note, why would heroku deploy an app - if every single
page produces an "App failed to start" error?

Luckily, my site is basically unknown at this point, but I would
eventually need a solid deployment process...  Any *best practice*
pages out there?

Regards,

Orlin

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to