Skip to content

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

Notifications You must be signed in to change notification settings

ahogappa0613/kompo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published