New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Ruby Sdk

Sentry SDK setup guide for Ruby apps covering Rails, Rack, Sinatra, and background job workers.

skills.sh installs
2.2K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers scanning the project, recommending features, and guiding installation and initialization for Ruby
  • Includes error monitoring, tracing, logging, metrics, profiling, and crons, with migration paths from AppSignal, Honeybadger, Bugsnag, Rollbar, and Airbrake
  • Detects existing gems and OpenTelemetry setups, routing to OTLP instead of native tracing when OTel is found
  • Designed for Ruby developers adding Sentry to Rails, Sinatra, Rack, Sidekiq, or Resque applications

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-ruby-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > SDK Setup > Ruby SDK

Sentry Ruby SDK

Opinionated wizard that scans the project and guides through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to Ruby" or "set up Sentry" in a Ruby app
  • User wants error monitoring, tracing, logging, metrics, profiling, or crons in Ruby
  • User mentions sentry-ruby, sentry-rails, or the Ruby Sentry SDK
  • User is migrating from AppSignal, Honeybadger, Bugsnag, Rollbar, or Airbrake to Sentry
  • User wants to monitor exceptions, HTTP requests, or background jobs in Rails/Sinatra

Note: SDK APIs below reflect sentry-ruby v6.6.2. Always verify against docs.sentry.io/platforms/ruby/ before implementing.


Phase 1: Detect

# Existing Sentry gems
grep -i sentry Gemfile 2>/dev/null

# Framework
grep -iE '\brails\b|\bsinatra\b' Gemfile 2>/dev/null

# Web server — Puma triggers queue time guidance
grep -iE '\bpuma\b' Gemfile 2>/dev/null

# Background jobs
grep -iE '\bsidekiq\b|\bresque\b|\bdelayed_job\b' Gemfile 2>/dev/null

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Debugging, Backend & APIs
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Ruby Sdk

More Debugging