Define a postdeploy action in your app.json file to ping Honeybadger when you deploy your Rails app to a Dokku instance.
The Honeybadger CLI deploy command requires you set the --repository and --revision options.
You can use environment variables for this, or for example hardcode your repository URL (as in the example below).
Dokku provides a $GIT_REV environment variable by default, which is useful to set the --revision option.