cgk.sh

colby gutierrez-kraybill

jruby, jar files, require

JRuby coolism:

Create a jar file with resources within it, e.g. jar cf test.jar *.jar *.rb

(assume that tester.rb is one of the files that will be bundled into the jar) Now the following should work: jruby -rtest.jar -e ‘require “tester”’