Reputation: 21
I have a jruby project with several self written gems (Java code with jars and Ruby code compiled to *.class) working perfect with jruby-1.7.0 (language level 1.9) running on several java jvm's like jdk1.7.0_07 or java-7-oracle.
After upgrade to jruby-1.7.4 I get several errors.
I am using rvm to switch between rubies. Please Help!
Frank
Upvotes: 0
Views: 701
Reputation: 21
After trying to load gems individually via jirb, I soon found out, that only my gems did not load, and always with the ArrayIndexOutOfBoundsException. My gems included java *.class files compiled with rubyc. This was the reason. I rebuild them with *.rb files and everything works.
Does anyone know why *.class files inside a gem are not loaded using jruby-1.7.4?
also check this answer
require self made gem in jruby fails after update to jruby-1.7.13
Upvotes: 0