It's about time to pack Ruby and Ruby scripts in one binary
summary
A new packer called KompoGem produces a single executable that embeds a Ruby runtime, gems and statically linked native extensions (using a libruby-static archive and KompoFS for stored sources), avoids temp files, monkey‑patches require for fallback to local files, and runs a Sinatra+SQLite demo on a machine without Ruby. The produced demo binary is about 78 MB. Current gaps: no Rails support yet, no compression, and no cross‑compilation.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:14What is a single binary
- 7:10Existing tools and limits
- 9:57Introducing KompoGem
- 13:14KompoGem features
- 24:23Future improvements
- 27:14Q&A and summary
related talks
29mPacking your Ruby application into a single executable
53mDeployable Ruby Runtimes
36mTBA
35mmruby: a Packaging Story Filled with Freedom
40mSelf-Contained, Source-Free, Executable Ruby Applications with Warbler
26mmruby: a Packaging Story Filled with Freedom
38mRubyX: Compiling Ruby and it's effect on the community
41mRuby for Embedded Applications
