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
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.0.9
head ⚡️ HEAD

Other versions:

ruby@3.4 3.4.12 Powerful, clean, object-oriented scripting language
ruby@3.3 3.3.13 Powerful, clean, object-oriented scripting language
ruby@3.2 3.2.11 Powerful, clean, object-oriented scripting language
ruby@3.1 3.1.7 Powerful, clean, object-oriented scripting language

Depends on:

libyaml 0.2.5 YAML Parser
openssl@4 4.0.3 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
rust 1.99.1 Safe, concurrent, practical language

Uses from macOS: libffi, libxcrypt

Binaries: bundle, bundler, erb, gem, irb, minitest, racc, rake, rbs, rdbg, rdoc, ri, ruby, syntax_suggest, test-unit, typeprof

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:

30 days90 days365 days
Installs48,643130,091650,654
Installs (--HEAD)3889416
Installs on Request21,74154,347263,791
Installs on Request (--HEAD)3783395
Build Errors65
Build Errors (--HEAD)2