Posted by Albert Cardona-2 on Jun 04, 2010; 6:40pm URL: http://imagej.273.s1.nabble.com/JRuby-plugin-development-newbie-tp3688052p3688057.html
It may be easier to leave the jruby scripts as scripts inside the jar,
and then run them.
See for example how we do it with jython. Each jython script appears
as an ImageJ plugin, by defining an entry for it in the plugins.config
file of the jar: