Using "modern" Ruby to build a better, faster Homebrew
summary
Homebrew stops relying on macOS Ruby and ships a self-built portable Ruby to run 3.3 across macOS and Linux, uses Rubocop & Sorbet for linting and type checks, and runs tests with RSpec and parallel tests (≈70–75% coverage across 10 processes). Several CLI commands are reimplemented in bash for startup speed — notably Brew list 1.28× faster than pip list — and binary bottles gain CI attestations. A separate product provides an offline installer and fleet UI (Workbrew management).
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 2:20Homebrew and Ruby relationship
- 9:50Ruby version struggles in Homebrew
- 13:50Portable Ruby upgrade
- 15:50Ruby tooling in Homebrew
- 21:09Improving Homebrew performance
- 27:13Enhancing Homebrew security
- 28:57Workbrew and future plans
- 29:40Call to action and Q&A
related talks
10mA Convenient Truth
28mHow Ruby makes Better Beer
32mBuilding CLI Apps for Everyone
51mMaking CocoaPods Fast with Modern Ruby Tooling
37mBuilding maintainable command-line tools with MRuby
49mRuby Software Continuously Delivered and Exhaustively Explained
26mmruby: a Packaging Story Filled with Freedom
37mRuby Served with a side of JavaScript
