Ruby

Ruby error logging with Rollbar

Instantly know when Ruby errors occur and how to fix them

Get exception & crash reports in real-time.
Track & debug bugs in record time.

Real-time error reporting

Get notified of Ruby errors instantly as they occur after deployment - and before users notice.

Similar errors are automatically grouped using Rollbar's fingerprinting technology to reduce noise, and all errors include detailed data to help you assess impact and assign priority.

Real-time error reporting

Error details & metadata

Rollbar automatically collects all the data you need to replicate and debug an error, presented in ways optimized for debugging speed.

Get stack traces, request parameters, local variables, affected users and IP addresses, browsers and OSes, deployed code versions, and more.

Error details & metadata

Error analytics query tool

RQL (Rollbar Query Language) allows you to perform data analysis and build custom reports on your error data, using a familiar SQL-like language.

You can use RQL to get answers to very specific questions, e.g. "How many users are getting by 404 errors right now, grouped by referring URLs?"

RQL is also accessible via API.

Error analytics query tool

Works with your stack

Rollbar supports all popular languages and frameworks.

railssinatrajavascript
reactvueangular

Fits into your workflow

Integrations with tools you're already using.

slackjiragithub
bitbucketjenkinspagerduty

Software engineers make mistakes and code isn’t perfect. Plus, we integrate with third-party systems, so anything can go wrong in the stack. Having Rollbar there gave us this immediate ability to troubleshoot things.

Mike O`NeilTechnical Lead
Mike O`Neil

Quick setup with our lightweight & open source SDK

Rollbar SDK for Ruby

Add the Rollbar-gem to your Ruby projects to automatically capture and report errors in your applications.

Add this line to your application's Gemfile:gem 'rollbar'

Start monitoring errors now

14-day unlimited errors free trial. 5,000 errors/month free forever.

Usage

Uncaught exceptions in Rails controllers will be automatically reported to Rollbar. You can use one of Rollbar.log(level, ...), Rollbar.debug(), Rollbar.info(),Rollbar.warning(), Rollbar.error() and Rollbar.critical() to report caught exceptions and messages.

The methods accept any number of arguments. The last exception is used as the reported exception, the last string is used as the message/description, and the last hash is used as the extra data...