Search code examples
deploymentherokuairbrake

airbrake:heroku:add_deploy_notification with multiple apps


Attempting to set up deploy notifications to Airbrake on Heroku deploy with rake airbrake:heroku:add_deploy_notification when you have multiple Heroku apps (i.e. git remotes) will yield:

 !    Multiple apps in folder and no app specified.
 !    Specify app with --app APP.

It appears Airbrake are aware of this but no real solution is offered.

Is there a work around?


Solution

  • A fix has now been pushed for this.

    You can set the environment variable HEROKU_APP to the name of the app.