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
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,098
chruby --HEAD 5
Installs on Request (30 days)
chruby 2,093
chruby --HEAD 5
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 6,180
chruby --HEAD 28
Installs on Request (90 days)
chruby 6,165
chruby --HEAD 28
Installs (365 days)
chruby 17,297
chruby --HEAD 129
Installs on Request (365 days)
chruby 17,252
chruby --HEAD 129
Fork me on GitHub