chruby

Install command:
brew install chruby

Ruby environment tool

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

License: MIT

Formula JSON API: /api/formula/chruby.json

Bottle JSON API: /api/bottle/chruby.json

Formula code: chruby.rb on GitHub

Bottle (binary package) installation support provided.

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 (macOS):

Installs (30 days)
chruby 3,321
chruby --HEAD 12
Installs on Request (30 days)
chruby 3,314
chruby --HEAD 11
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 9,331
chruby --HEAD 35
Installs on Request (90 days)
chruby 9,291
chruby --HEAD 34
Installs (365 days)
chruby 28,547
chruby --HEAD 154
Installs on Request (365 days)
chruby 28,439
chruby --HEAD 153

Analytics (Linux):

Installs (30 days)
chruby 32
Installs on Request (30 days)
chruby 31
Build Errors (30 days)
chruby 0
Installs (90 days)
chruby 72
chruby --HEAD 1
Installs on Request (90 days)
chruby 70
chruby --HEAD 1
Installs (365 days)
chruby 336
chruby --HEAD 3
Installs on Request (365 days)
chruby 332
chruby --HEAD 3
Fork me on GitHub