Using polyglot (0.3.1)
Using treetop (1.4.9)
Using mail (2.2.19)
Using actionmailer (3.0.7)
System.java:-2:in arraycopy': java.lang.ArrayIndexOutOfBoundsException from DefaultResolver.java:111:inmakeTime’
from DefaultResolver.java:277:in create' from DefaultResolver.java:317:inhandleScalar’
from DefaultResolver.java:435:in orgHandler' from DefaultResolver.java:455:innode_import’
from DefaultResolver$s$1$0$node_import.gen:65535:in call' from CachingCallSite.java:137:incall’
I’m using also rails_config gem and with jruby1.9 I have the error
“unitialized constant Settings”.
With jruby --1.8 I had no problems.
I think that ruby 1.9 support is not complete.
I can confirm this behavior as well. When we released 1.6.1 this was
not happening so a subsequent Rails release must have uncovered a bug
in our 1.9 support. This will be fixed for 1.6.2, but we need to
understand why first (of course).
I was able to reproduce your error locally and the simplest solution is to run
bundle update under 1.9:
jruby --1.9 -S bundle update
If I run jruby --1-9 it installs gems for 1.9.
Now I have to use jruby --1.9 also for my applications but they don’t
work anymore.
For example rake cucumber says:
rake aborted!
undefined method `task’
I’m using also rails_config gem and with jruby1.9 I have the error
“unitialized constant Settings”.
With jruby --1.8 I had no problems.
I think that ruby 1.9 support is not complete.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.