Ready: 12x Faster Ruby CLIs Through Spectacular Overengineering
summary
A toolchain called Ready replaces gem stubs with shell functions that open a Unix socket, use send_io over Unix socket to pass stdin/stdout/stderr into a preloaded daemon (built on Jeremy Evans’ by gem), fork a fresh process, swap FDs, and exec the CLI — yielding a 12x average speedup across many CLIs (kamal ~40ms vs 700ms, ronin ~50ms vs 1100ms). Shell pieces are compiled into zcompile wordcode. Known limits: PTYs, ssh, process substitution and some bundler edge cases still fail.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:59CLI startup time matters
- 7:20Ruby CLI load times
- 10:15Introducing Spring and B
- 13:51Limitations of solutions
- 16:30Introducing Ready
- 20:21Live demo of Ready
- 21:03Optimizing ZSH with Zcompile
- 23:20Ready benefits
- 23:41Q&A








