macOS ◆ xterm-256color ◆ zsh 1049 views

Process

Create a new rails app and change directories

rails new airbrake_test & cd airbrake_test

Add the airbrake gem to your Gemfile

gem 'airbrake'

Bundle install from the project root

bundle install

Generate the airbrake configuration file send a test exception

rails generate airbrake --api-key $AIRBRAKE_API_KEY

Useful Airbrake config options

Visit the airbrake gem wiki: https://github.com/airbrake/airbrake/wiki

More by mogramer

untitled 01:08

by mogramer

untitled 01:09

by mogramer

See all