ruby

Install command:
brew install ruby

Also known as: ruby@4, ruby@4.0

Powerful, clean, object-oriented scripting language

https://www.ruby-lang.org/

License: Ruby

Development: Pull requests

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

Formula code: ruby.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.0.2
head ⚡️ HEAD

Other versions:

ruby@3.4 3.4.9 Powerful, clean, object-oriented scripting language
ruby@3.3 3.3.11 Powerful, clean, object-oriented scripting language
ruby@3.2 3.2.10 Powerful, clean, object-oriented scripting language
ruby@3.1 3.1.7 Powerful, clean, object-oriented scripting language
ruby@3.0 3.0.7 Powerful, clean, object-oriented scripting language

Keg-only

Depends on:

libyaml 0.2.5 YAML Parser
openssl@3 3.6.1 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

autoconf 2.73 Automatic configure script builder
pkgconf 2.5.1 Package compiler and linker metadata toolkit
rust 1.94.0 Safe, concurrent, practical language
By default, binaries installed by gem will be placed into:
    $HOMEBREW_PREFIX/lib/ruby/gems/4.0.0/bin

You may want to add this to your PATH.

Analytics:

Installs (30 days)
ruby 54,053
ruby --HEAD 38
Installs on Request (30 days)
ruby 20,849
ruby --HEAD 38
Build Errors (30 days)
ruby 22
Installs (90 days)
ruby 179,340
ruby --HEAD 111
Installs on Request (90 days)
ruby 72,349
ruby --HEAD 110
Installs (365 days)
ruby 696,647
ruby --HEAD 555
Installs on Request (365 days)
ruby 302,994
ruby --HEAD 553