use jruby-complete.jar instead of jruby.jar avoiding to get message like 'org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- rubygems
'