postmodern/chruby
Changes the current Ruby observed · 2026-08-28
Health v2 · maintenance only
45/100
- Activity 49
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5145
- days_rel: n/a
- days_push: 310
- n_releases_24m: 0
Adoption not part of the score
2912 stars · 183 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
chruby is a minimal shell script (~100 LOC) for switching between installed Ruby versions in bash and zsh. It updates PATH, GEM_HOME, and related environment variables, with optional auto-switching via .ruby-version files.
Use cases
- switch between multiple ruby versions on my machine
- set ruby version per project with .ruby-version file
- avoid rbenv shims and just change PATH for ruby
- manage GEM_HOME and GEM_PATH when switching rubies
- fuzzy match and select an installed ruby by name
- use jruby or rubinius alongside MRI ruby
When to choose
- you want a tiny, simple Ruby version switcher without shims or cd hooks
- you use bash or zsh and manage Rubies yourself (e.g. with ruby-install)
- you prefer minimal tooling with no daemon or regeneration steps
When to avoid
- you need automatic Ruby installation - use ruby-install, rvm, or asdf alongside it
- you need per-project auto-switching enabled by default without extra setup
- you don't use bash or zsh
Facets
cli-tool · maturity stable
developer-tools cli configuration-management developer-tools programming-languages cli cross-platform ruby version-manager shell bash zsh environment-management command-line linux macos
1 source
- readme: https://github.com/postmodern/chruby · fetched 2026-08-28 · 7823c71ee51b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| postmodern/chruby | main | 45 |
For agents
markdown · JSON · MCP: product_card(name="postmodern/chruby")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem