Install command:
brew install ruby-build

Install various Ruby versions and implementations

License: MIT

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

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

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel 64-bit linux

Current versions:

stable 20210801
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 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 /home/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.


Installs (30 days)
ruby-build 1,608
ruby-build --HEAD 8
Installs on Request (30 days)
ruby-build 1,034
ruby-build --HEAD 8
Build Errors (30 days)
ruby-build 0
Installs (90 days)
ruby-build 3,630
ruby-build --HEAD 20
Installs on Request (90 days)
ruby-build 2,052
ruby-build --HEAD 20
Installs (365 days)
ruby-build 10,343
ruby-build --HEAD 51
Installs on Request (365 days)
ruby-build 4,066
ruby-build --HEAD 51
Fork me on GitHub