chruby

Install command:
brew install chruby

Ruby environment tool

https://github.com/postmodern/chruby

License: MIT

Formula JSON API: /api/formula/chruby.json

Formula code: chruby.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 0.3.9
head ⚡️ HEAD
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

Analytics:

Installs (30 days)
chruby 1,635
chruby --HEAD 4
Installs on Request (30 days)
chruby 1,633
chruby --HEAD 4
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 5,363
chruby --HEAD 19
Installs on Request (90 days)
chruby 5,347
chruby --HEAD 19
Installs (365 days)
chruby 28,501
chruby --HEAD 104
Installs on Request (365 days)
chruby 28,381
chruby --HEAD 104
Fork me on GitHub