ruby-build

Install command:
brew install ruby-build

Install various Ruby versions and implementations

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

License: MIT

Formula JSON API: /api/formula/ruby-build.json

Bottle JSON API: /api/bottle/ruby-build.json

Formula code: ruby-build.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable 20220426
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.2 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 (macOS):

Installs (30 days)
ruby-build 383,892
ruby-build --HEAD 370
Installs on Request (30 days)
ruby-build 346,185
ruby-build --HEAD 363
Build Errors (30 days)
ruby-build --HEAD 2
Installs (90 days)
ruby-build 1,197,552
ruby-build --HEAD 1,112
Installs on Request (90 days)
ruby-build 1,083,893
ruby-build --HEAD 1,101
Installs (365 days)
ruby-build 3,783,409
ruby-build --HEAD 4,707
Installs on Request (365 days)
ruby-build 3,329,323
ruby-build --HEAD 4,664

Analytics (Linux):

Installs (30 days)
ruby-build 1,348
ruby-build --HEAD 5
Installs on Request (30 days)
ruby-build 609
ruby-build --HEAD 5
Build Errors (30 days)
ruby-build --HEAD 1
Installs (90 days)
ruby-build 4,669
ruby-build --HEAD 18
Installs on Request (90 days)
ruby-build 2,338
ruby-build --HEAD 18
Installs (365 days)
ruby-build 17,161
ruby-build --HEAD 86
Installs on Request (365 days)
ruby-build 9,447
ruby-build --HEAD 86
Fork me on GitHub