renseiai/donmai-kits/ruby-debugging
Claude Code and agent skill by renseiai/donmai-kits
- community
Checking that the SKILL.md file is still in the repository.
Diagnose Ruby load, Bundler resolution, RuboCop, and RSpec failures. Use when gem installation, requires, linting, or Ruby tests fail or hang.
Install
npx vskill@latest install renseiai/donmai-kits/ruby-debuggingSKILL.md
Ruby Debugging
Overview
Debugging Ruby load errors, Bundler resolution problems, rubocop offenses, and spec failures. Systematic diagnosis for the most common Ruby/Bundler failure modes.
Triggers
Use this skill when:
bundle installfails to resolve gemsbundle exec rspecfails, errors on load, or hangsbundle exec rubocopreports offenses that block validateLoadError/cannot load such fileat require time
Debugging Workflow
1. Bundler / Gem Resolution
Common root causes:
- Version conflicts in Gemfile.lock —
bundle update <gem>for the conflicting
dependency, or relax the constraint in the Gemfile
- Native-extension build failure — a missing system library/header
- Wrong Ruby version — check
.ruby-versionvs the active rbenv version
(rbenv version)
2. Load Errors
Common root causes:
requirevsrequire_relativemismatch- File not on the load path — run via
bundle execso the gem's lib/ is loaded - Missing gem — add it to the Gemfile and
bundle install
3. Rubocop (validate gate)
Most offenses are auto-correctable: bundle exec rubocop -A (safe) / -a (autocorrect). Prefer fixing over inline # rubocop:disable.
4. Spec Failures
Common root causes:
- Shared mutable state across examples — reset in
before/afterhooks - Stubbed/mocked methods drifting from the real API
- Flaky tests depending on example ordering (
--order randomsurfaces these)
Notes
- rbenv shims live in
~/.rbenv/shims. Ifruby/bundleare not found, run
eval "$(rbenv init - bash)" first (the installer set rbenv up there).
- Always invoke tools through
bundle execto use the locked gem versions.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkits/ruby/skills/ruby-debugging/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/renseiai/donmai-kits/ruby-debugging)