The Ruby One-Binary Tool, Enhanced with Kompo
summary
Kompo packages a Ruby runtime, gems, scripts and assets into a single executable and demonstrates running a full Ruby build inside a clean Docker container using no system Ruby. Implementation replaces file I/O at link time by wrapping libc calls and using dlsym with RTLD_NEXT to call the original, switches between host FS and an embedded read-only virtual filesystem, fixes autoload breakage caused by override require, and shows Rails running as a one-binary Ruby (Kompo) with acceptable performance.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:04What is Kompo
- 8:00Implementation challenges
- 17:39Virtual file system
- 23:57Live demo
- 28:54Future plans and summary
related talks
53mDeployable Ruby Runtimes
47mContainerized Ruby Applications with Docker
25mRuby in containers
40mContainerized Ruby Applications with Docker
01h 01mShipping Ruby Apps with Docker
38mRubyX: Compiling Ruby and it's effect on the community
40mDeveloping Ruby Applications with Docker
41mRuby for Embedded Applications
