chruby

Install command:
brew install chruby

Ruby environment tool

https://github.com/postmodern/chruby#readme

License: MIT

/api/formula/chruby.json (JSON API)

Formula code on GitHub

Current versions:

stable 0.3.9
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave, high_sierra, sierra, el_capitan, yosemite, mavericks
Add the following to the ~/.bash_profile or ~/.zshrc file:
    source $(brew --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 $(brew --prefix)/opt/chruby/share/chruby/auto.sh

Analytics:

Installs (30 days)
chruby 1,015
chruby --HEAD 9
Installs on Request (30 days)
chruby 1,011
chruby --HEAD 9
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 2,634
chruby --HEAD 24
Installs on Request (90 days)
chruby 2,624
chruby --HEAD 24
Installs (365 days)
chruby 11,124
chruby --HEAD 119
Installs on Request (365 days)
chruby 11,069
chruby --HEAD 119
Fork me on GitHub