uprb
uprb is a Ruby script packer.
It builds a single executable from a Ruby script and freezes how it runs.
The output is meant to be fast to start and deterministic.
It also aims to make a script easier to use as a single command by fixing
its runtime library paths at pack time.
This tool does not produce native binaries. It assumes a Ruby interpreter
is already installed and runs the packed script with that Ruby.
Usage
Pack a script into a single executable:
uprb pack path/to/script.rb path/to/outputOptions:
--skip-iseq-cache: keep plain Ruby output instead of ISeq payload--enable-rubygems: do not pass--disable-gemsto Ruby
Pack executables from an installed gem:
uprb gem pack GEM_NAMEOptions:
--skip-iseq-cache--enable-rubygems--path DIR: install packed executables into this directory
Install a gem and pack its executables:
uprb gem install GEM_NAMEOptions:
--skip-iseq-cache--enable-rubygems--path DIR: install executables into this directory
Install
gem install uprbOn this page
Languages
Ruby99.3%Shell0.7%
Contributors
MIT License
Created December 14, 2025
Updated January 19, 2026