error-tracking-ruby

Official

Add PostHog error tracking to Ruby apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog error tracking for Ruby provides a drop-in way to capture and report Ruby exceptions to PostHog, enabling faster debugging and centralized monitoring without rewriting existing error handling.

Core Features & Use Cases

  • Autocapture of exceptions and optional manual captures with capture_exception to track errors across Rails, Ruby scripts, and background jobs.
  • Minimal intrusion: add the PostHog client alongside existing error handling and avoid large rewrites.
  • End-to-end monitoring: ensure stack traces are captured to provide actionable insights and facilitate issue tracking.

Quick Start

Install the posthog-ruby gem, configure the client with your API key and host, and use capture_exception in rescue blocks to report errors.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-tracking-ruby
Download link: https://github.com/PostHog/skills/archive/main.zip#error-tracking-ruby

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.