I want to introduce a Ruby one-binary conversion tool. I am developing a gem called Kompo. Kompo was developed to make one-binary Ruby game engines, which I can develop in Ruby as a hobby.
Kompo is based on the concept of “easy to run anywhere reasonably fast.” Now, a simple program with Sinatra
+ SQLite
can be made one binary.
However, Kompo cannot include anything besides Ruby scripts in the binary because it achieves one binary by overriding require,
which is sufficient. If you want to make a Ruby on Rails app one-binary, you need to include YAML, etc., in the binary and also be able to read it via IO.read
, etc.
So, I have provided Kompo with a means for users to access binary data freely. This allows you to read the YAML files in the binary using IO.read
, etc.
In this session, I will describe the details of this implementation and demonstrate how Ruby can be run as one binary.
Schedule

I am a web application developer at STORES, Inc. As a hobby, I develop game engines and tools to pack ruby in one binary.