- Download this repository.
- Download jruby-complete-X.X.X.X.jar into
vendor/
. - Change jruby-complete-X.X.X.X.jar version to your downloaded in
vendor/jruby.bat
. - Install Bundler into
vendor/gem_home
with the following command.vendor/jruby.bat -S gem install -i vendor/gem_home --no-document bundler
- Install gems by Bundler with the following command.
vendor/bundle.bat install --path vendor/bundle --binstubs .bundle/bin
- After that, implement a CLI application as you like.
Packaging the gems puts them into vendor/cache and means that you can bundle install without having to access rubygems.org.
vendor/bundle.bat package