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 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 2,276
chruby --HEAD 11
Installs on Request (30 days)
chruby 2,272
chruby --HEAD 11
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 6,870
chruby --HEAD 23
Installs on Request (90 days)
chruby 6,846
chruby --HEAD 23
Installs (365 days)
chruby 34,583
chruby --HEAD 156
Installs on Request (365 days)
chruby 34,483
chruby --HEAD 156
Fork me on GitHub