Hi,
> "Error, could not compile; pass -d or -J-Djruby.jit.logging.verbose=true
> for
> > more details"
> >
> > Following is the engine code which generates the error log:
> >
> > <code>
> > private Object evalNodeWithAutoTermination(Node node) throws Exception
> > {
> > try {
> > return rubyToJava(runtime.runNormally(node)); // This line
> > } finally {
> > try {
> > JavaEmbedUtils.terminate(runtime);
> > } catch (RaiseException e) {
> > RubyException re = e.getException();
> > runtime.printError(re);
> > if (!runtime.fastGetClass("SystemExit").isInstance(re)) {
> > throw new ScriptException(e);
> > }
> > }
> > }
> > }
> > </code>
> >
> > It is the "runtime.runNormally(node)" line that causes the error log.
>
> This issue was fixed in JRuby 1.3.0RC2 or RC1 (Sorry, I don't remember
> version number exactly). So, current, JRuby 1.3.1, does not cause this
> error anymore. If you don't have any reason to keep using JRuby 1.3.0,
> try your code on JRuby 1.3.1.
>
I tried using JRuby 1.3.1 but I still get the same error message. I should
mention that the code executes just fine in both cases (1.3.0 & 1.3.1) it's
just the exception log message which is bit annoying.
Just to make sure I tried using JRuby 1.3.1 with the original jruby jsr223
engine from https://scripting.dev.java.net/servlets/ProjectDocumentList and
I still get the error log :-?
Many thanks for helping.
- Asiri
>
> -Yoko
>
> >
> > What am I doing wrong and what can I do to fix this? (Note: I'm not an
> > experienced ruby developer)
> >
> > Also, it would be really cool if JSR223 engine for jruby can be
> ditributed
> > with JRuby itself, this will make a lot of probelms go away.
> >
> > Thanks.
> >
> > - Asiri
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>