Skip to content
delayed_job exception notification with airbrake
Ruby Shell
Find file
Failed to load latest commit information.
lib bump version
resources Add "looking for maintainer"
spec/lib/delayed-plugins-airbrake Add Delayed::Plugins::Airbrake::Bomb
.gitignore Add Vagrantfile
AUTHORS (m) Add @ndbroadbent to AUTHORS
Gemfile $ bundle gem delayed-plugins-airbrake
LICENSE.txt Adjust generated text Remove "looking for maintainer"
Rakefile Add "empty" spec to sanity check code
Vagrantfile Add Vagrantfile
delayed-plugins-airbrake.gemspec Update Airbrake notify call, pass exception as first argument. Set 'c…


Currently maintained by @ndbroadbent. Many thanks!

delayed_job exception notification with Airbrake

Originally based on this gist and this StackOverflow answer.


Add this line to your application's Gemfile:

gem 'delayed-plugins-airbrake'


Register the plugin like so:

require 'delayed-plugins-airbrake'
Delayed::Worker.plugins << Delayed::Plugins::Airbrake::Plugin

In a Rails project, this can be done in config/initializers.

System Integration Testing

A test class is provided. It can easily be run from your app's console, etc.


This raises an exception in delayed_job which should show up in Airbrake (if everything is set up correctly :) ).


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.