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 20220910.1
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 202,813
ruby-build --HEAD 408
Installs on Request (30 days)
ruby-build 157,561
ruby-build --HEAD 407
Build Errors (30 days)
ruby-build 0
Installs (90 days)
ruby-build 630,809
ruby-build --HEAD 1,196
Installs on Request (90 days)
ruby-build 495,930
ruby-build --HEAD 1,194
Installs (365 days)
ruby-build 4,204,808
ruby-build --HEAD 4,633
Installs on Request (365 days)
ruby-build 3,729,461
ruby-build --HEAD 4,606

Analytics (Linux):

Installs (30 days)
ruby-build 1,746
ruby-build --HEAD 5
Installs on Request (30 days)
ruby-build 872
ruby-build --HEAD 5
Build Errors (30 days)
ruby-build 0
Installs (90 days)
ruby-build 4,527
ruby-build --HEAD 12
Installs on Request (90 days)
ruby-build 2,043
ruby-build --HEAD 12
Installs (365 days)
ruby-build 17,784
ruby-build --HEAD 84
Installs on Request (365 days)
ruby-build 8,856
ruby-build --HEAD 84
Fork me on GitHub