FICHA · AUR

chruby

Changes the current ruby. Supports both zsh and bash.

  • shell-tool
  • SHELL
  • RUBY
  • DEVELOPER-TOOL
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 29, 2026 description in en

Description

Switches the active Ruby version inside bash or zsh sessions. It is useful for developers who maintain projects that need different Ruby versions without changing the whole system Ruby.

Shell version switching changes which interpreter and gems commands use. Confirm the active Ruby before installing gems or running deployment scripts.

How to run

chruby

Commands: chruby

Permissions

Permissions not analysed for this source yet.