chruby

Install command:
brew install chruby

Ruby environment tool

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

License: MIT

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

Linux formula code on GitHub

Current versions:

stable 0.3.9
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave, high_sierra, sierra, el_capitan, yosemite, mavericks, x86_64_linux
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 14
Installs on Request (30 days)
chruby 14
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 42
Installs on Request (90 days)
chruby 40
Installs (365 days)
chruby 360
chruby --HEAD 5
Installs on Request (365 days)
chruby 359
chruby --HEAD 5
Fork me on GitHub