ruby-build

Install command:
brew install ruby-build

Install various Ruby versions and implementations

https://github.com/rbenv/ruby-build

License: MIT

/api/formula/ruby-build.json (JSON API)

/api/bottle/ruby-build.json (Bottle JSON API)

Formula code on GitHub

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

Current versions:

stable 20211019
head ⚡️ HEAD

Depends on:

autoconf 2.71 Automatic configure script builder
pkg-config 0.29.2 Manage compile and link flags for libraries
readline 8.1.1 Library for command-line editing
ruby-build installs a non-Homebrew OpenSSL for each Ruby version installed and these are never upgraded.

To link Rubies to Homebrew's OpenSSL 1.1 (which is upgraded) add the following
to your /Users/runner/.bash_profile:
    export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"

Note: this may interfere with building old versions of Ruby (e.g <2.4) that use
OpenSSL <1.1.

Analytics:

Installs (30 days)
ruby-build 314,040
ruby-build --HEAD 439
Installs on Request (30 days)
ruby-build 275,681
ruby-build --HEAD 437
Build Errors (30 days)
ruby-build 0
Installs (90 days)
ruby-build 753,893
ruby-build --HEAD 1,235
Installs on Request (90 days)
ruby-build 645,052
ruby-build --HEAD 1,223
Installs (365 days)
ruby-build 1,473,968
ruby-build --HEAD 4,890
Installs on Request (365 days)
ruby-build 980,540
ruby-build --HEAD 4,848
Fork me on GitHub