Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Airbrake for your Rails application #81

Open
trosborn opened this issue Mar 1, 2017 · 0 comments
Open

Setup Airbrake for your Rails application #81

trosborn opened this issue Mar 1, 2017 · 0 comments
Labels

Comments

@trosborn
Copy link
Owner

trosborn commented Mar 1, 2017

Installation

Using bundler

Add the Airbrake gem to your Gemfile:

gem 'airbrake', '~> 5.7'

Manual

Invoke the following command from your terminal:

gem install airbrake

Integration

Invoke the following command from your terminal (You can find your project ID and API KEY with your project's settings):

rails g airbrake <Your project ID> <Your project API KEY>

This command will generate the Airbrake configuration file under config/initializers/airbrake.rb.
Make sure that this file is checked into your version control system. This is enough to start Airbraking.

To test the integration, invoke a special Rake task that we provide:

rake airbrake:test

After this, a test exception should appear in your dashboard.

Configuration

For information on where to find advanced configuration options like error filtering or custom parameters, please visit our official GitHub repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant