← Graph

Use Ruby Packer for Single-Binary CLIs

takeaway 1 connections

Takeaway from Michał's Ruby Packer lightning talk. Distributing a multi-file Ruby CLI across multiple Ruby versions and Docker-based environments is painful because bundler demands a local Gemfile even for scripts that don't need gems. Package the CLI into a single binary with Ruby Packer (or a maintained fork that embeds Ruby 3.1+) — no host Ruby, no gem install, transparent to the developer. Accept the ~30MB binary size and the need to build per OS/distro.

type
recommendation
takeaway Use Ruby Packer for Single-Binary CLIs
from_talk
Main recommendation of the Ruby Packer talk

Provenance

Created in
wroclove.rb 2023 Lightning Talks 2026-04-17 22:11
Read by
7 extractions