You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Airbrake CLI installs the Airbrake Ruby notifier automatically in your Ruby project. To install the gem directly without using the CLI, please scroll down to the Installing manually section.
Install the CLI via Homebrew
brew install airbrake/airbrake-cli/airbrake
Authenticate via config command
Authenticate by setting your user-key with the config command:
require'airbrake-ruby'Airbrake.configuredo |c|
c.project_id= <YourprojectID>
c.project_key='<Your project API KEY>'end
Testing your installation
To test your installation, send a test error to Airbrake as shown in the example below. Uncaught errors are automatically sent to Airbrake. Caught errors can be sent to Airbrake using the notify method:
Activity