CocoaEngineering
FORMULAv0.3.9

chruby for macOS

Ruby environment tool

Installation on macOS (Apple Silicon & Intel)

brew install chruby

Package Metadata

Identifierchruby
Current Version0.3.9
Tap Repositoryhomebrew/core
LicenseMIT
Upstream Homepagehttps://github.com/postmodern/chruby
Last Verified2026-11-26T14:43:31Z

Engineering Caveats

Add the following to the ~/.bash_profile or ~/.zshrc file:
  source $HOMEBREW_PREFIX/opt/chruby/share/chruby/chruby.sh

To enable auto-switching of Rubies specified by .ruby-version files,
add the following to ~/.bash_profile or ~/.zshrc:
  source $HOMEBREW_PREFIX/opt/chruby/share/chruby/auto.sh
Browse macOS Packages A–Z