Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Demo to use mkristian's jruby-maven-plugins to create a self-contained, runnable .jar with JRuby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

What is it?

An example program to bundle JRuby up in a Maven project using mkristian's [jruby-maven-plugins][2]. To use simply

mvn install

and then go to your target folder and run it:

java -jar ruby-jar-it-with-dependencies-and-gems.jar

Why?

This is simply a reference point for trying to create your own. There are obvious use-cases for this kind of thing, such as a hybrid Java/Ruby project, and if you're comfortable using Maven as your build system, you might want to go with this approach to create a runnable .jar.

[2]:

Something went wrong with that request. Please try again.