Installing Airbrake gem
Airbrake
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.
Help
For help with using Airbrake and this notifier visit our support site.
For SSL verification see the Resources.
Rails Installation
Rails 3.x
Step 1: Add the airbrake gem to your Gemfile. In Gemfile:
gem 'airbrake'
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
(your_key_here)
That's it!
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.

Step 3: Make sure to watch the gem on rubygems and follow us on our airbrake github page to keep your airbrake gem current!