Installing Airbrake gem
This is the notifier gem for integrating apps with Airbrake.
When an uncaught exception occurs, Airbrake will POST the relevant data to the Airbrake server specified in your environment.
For help with using Airbrake and this notifier visit our support site.
For SSL verification see the Resources.
Step 1: Add the airbrake gem to your Gemfile. In Gemfile:
Then from your project's RAILS_ROOT, and in your development environment:
Step 2: Install the airbrake gem
$ bundle install
$ rails generate airbrake --api-key
The generator creates a file under config/initializers/airbrake.rb configuring Airbrake with your API key. This file should be checked into your version control system so that it is deployed to your staging and production environments.