Heroku's ruby project changed its default branch from master to main. This broke the examples in the documentation. This change explicitly names main and master.