Project

kompo

0.01
The project is in a healthy, maintained state
A tool to pack Ruby and Ruby scripts in one binary. This tool is still under development.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Kompo

A tool to pack Ruby and Ruby scripts in one binary. This tool is still under development.

Installation

$ gem install kompo

Usage

prerequisites

Install komp-vfs.

Homebrew

$ brew tap ahogappa0613/kompo-vfs https://github.com/ahogappa0613/kompo-vfs.git
$ brew install ahogappa0613/kompo-vfs/kompo-vfs

Building

To build komp-vfs, you need to have cargo installation.

$ git clone https://github.com/ahogappa0613/kompo-vfs.git
$ cd kompo-vfs
$ cargo build --release

Set environment variables

$ KOMPO_CLI=/path/to/kompo-vfs/target/release/kompo-cli
$ LIB_KOMPO_DIR=/path/to/kompo-vfs/target/release

examples

  • hello
    • simple hello world script.
  • sinatra_and_sqlite
    • sinatra app with sqlite3 with Gemfile.
  • rails
    • 🚧

Development

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ahogappa0613/kompo.