How it works
window.onerror event by sending an XHR with the error data which is then emailed.
Add the gem to your
Use Bundler to install it.
$ bundle install
Run the install generator.
$ bundle exec rails generate tastes_bitter:install
config/initializers/tastes_bitter.rb and update the configuration.
Make sure you have ActionMailer configured in order for emails to be sent.