These are chat archives for jruby-gradle/jruby-gradle-plugin
JRuby Gradle: GitHub: https://github.com/jruby-gradle || Bintray: https://bintray.com/jruby-gradle || Mailing list: https://groups.google.com/forum/#!forum/jruby-gradle
initScript library()which packs your gems into the jar so jruby will find them if the jar is on the classpath
unzip -l jar-with-gems.jarto see if the gems are inside the ./gems directory and there is a ./specifications directory as well
./gradlew jrubyJarshould build you the jar with the gems
:jrubyJar (Thread[main,5,main]) started.
:jrubyJar (Thread[main,5,main]) completed. Took 0.035 secs.
FAILURE: Build failed with an exception.
What went wrong:
A problem was found with the configuration of task ':jrubyJar'.
No value has been specified for property 'mainClass'.
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
org.jruby.embed.EvalFailedExceptionso this mean something worked before, i.e. you got jruby executed.
I changed it with require 'json'