chruby

Install command:
brew install chruby

Ruby environment tool

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

License: MIT

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

/api/bottle/chruby.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
high sierra
sierra
el capitan
yosemite
64-bit linux
Apple Silicon big sur

Current versions:

stable 0.3.9
head ⚡️ HEAD
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 2,096
chruby --HEAD 18
Installs on Request (30 days)
chruby 2,091
chruby --HEAD 18
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 6,059
chruby --HEAD 43
Installs on Request (90 days)
chruby 6,026
chruby --HEAD 43
Installs (365 days)
chruby 21,508
chruby --HEAD 153
Installs on Request (365 days)
chruby 21,438
chruby --HEAD 153
Fork me on GitHub