Please note, this gem is no longer maintained
Resque failure backend that sends exceptions to coalmineapp.com.
Add this line to your application's Gemfile:
gem 'resque_coalmine'
And then execute:
$ bundle
Or install it yourself as:
$ gem install resque_coalmine
Resque::Failure::Coalmine.configure do |config|
config.signature = 'my_secret_signature'
end
Resque::Failure.backend = Resque::Failure::Coalmine
If you are already using coalmineapp.com gem, you just need
Resque::Failure.backend = Resque::Failure::Coalmine
If you've not yet configured Coalmine in your project, visit the project page for installation instructions.
In development mode you need to configure Coalmine to send exceptions, default is ['production', 'staging']
Coalmine.configure do |config|
....
config.enabled_environments += %w( development ) if Rails.env.development?
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request