Verify what Ruby versions actually exist and install a specific Ruby via rbenv. Use BEFORE asserting that any Ruby version does or doesn't exist (e.g., "Ruby 4.0 isn't out yet", "the latest Ruby is 3.x", "Ruby X.Y.Z doesn't exist"). Also use when the user asks "what's the latest Ruby", "is Ruby X out", "does Ruby X.Y exist", "install Ruby", "switch to Ruby X", "what Ruby is installed", or mentions a specific Ruby version you're unsure about. Claude's training data may be out of date — run `check.sh` first.
76
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Two-script skill that prevents the agent from hallucinating Ruby release information and provides a one-liner Ruby install.
Mandatory: run check.sh before making any claim about whether a specific Ruby version exists, has been released, or is the latest. Claude's training cutoff lags real Ruby releases — guessing is the failure mode this skill exists to prevent.
Also invoke when the user:
install.sh).scripts/check.shPrints:
bash skills/ruby-version/scripts/check.shNo arguments. Exits non-zero with a remediation hint if rbenv or ruby-build is missing.
How to read the output: The line beginning latest-stable: is the highest stable MRI release ruby-build knows about. Treat that as ground truth over any version number you recall from training data. The installed: block is what the user has on this machine; an empty list means none installed via rbenv.
scripts/install.sh <version>Installs a specific Ruby via rbenv + ruby-build. Validates the version exists in ruby-build's known list first.
bash skills/ruby-version/scripts/install.sh 3.4.2Does not set the version as global or local. After install, suggest the user run rbenv global <version> or cd <project> && rbenv local <version> based on their intent.
If the requested version isn't in rbenv install -l, the script prints a hint to upgrade ruby-build (brew upgrade ruby-build) rather than failing silently.
check.sh.install.sh auto-set global or local Ruby — that's a user decision.cb80143
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.