sandbox
sandbox copied to clipboard
Problem running mvn test
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:109:in get_proxy_or_package_under_package': cannot load Java class com.github.kyleburton.SomeClass (NameError) from /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:inmethod_missing'
from /Users/rdimarco/projects/kyle-sandbox/examples/maven/rspec/src/test/specs/some_class_spec.rb:1
from /Users/rdimarco/projects/kyle-sandbox/examples/maven/rspec/src/test/specs/some_class_spec.rb:15:in load' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:15:inload_files'
from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:14:in each' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:14:inload_files'
from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:132:in run_examples' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:inrun'
from -:34
exit: 1
Your blog post isn't up yet so thought this would be the easiest place to comment.
This appears to be an issue with JRuby 1.4 -- if you use JRuby 1.3.1 (http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.tar.gz) it works. I'll add notes about this to the blog post and readme -- I'll also try to investigate it it further to see if I can provide guidance to the plugin author. Can you try it with JRuby 1.3?
I have the same problem with jruby 1.5.1! I try to use an ueber JAR in a rails app. On my MacBook Air it works fine. But on debian linux with jruby 1.5.1 I got this odd Exception.