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

Installs (30 days)
ruby-build 109,313
ruby-build --HEAD 468
Installs on Request (30 days)
ruby-build 64,184
ruby-build --HEAD 467
Build Errors (30 days)
ruby-build --HEAD 4
Installs (90 days)
ruby-build 383,449
ruby-build --HEAD 1,596
Installs on Request (90 days)
ruby-build 226,898
ruby-build --HEAD 1,594
Installs (365 days)
ruby-build 3,097,379
ruby-build --HEAD 5,136
Installs on Request (365 days)
ruby-build 2,567,765
ruby-build --HEAD 5,119

Analytics (Linux):

Installs (30 days)
ruby-build 1,729
ruby-build --HEAD 3
Installs on Request (30 days)
ruby-build 571
ruby-build --HEAD 3
Build Errors (30 days)
ruby-build 0
Installs (90 days)
ruby-build 4,966
ruby-build --HEAD 9
Installs on Request (90 days)
ruby-build 2,102
ruby-build --HEAD 9
Installs (365 days)
ruby-build 19,109
ruby-build --HEAD 63
Installs on Request (365 days)
ruby-build 9,041
ruby-build --HEAD 63
Fork me on GitHub