I just tested out the current master, be aware that #997 is also from me so those 2 might be related :-)
When trying to run rake spec for the shoes4 project I get the following error:
LoadError: load error: bundler/setup -- java.lang.IllegalAccessError: tried to access method org.jruby.ext.pathname.RubyPathname.to_path(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; from class org.jruby.ext.pathname.RubyPathname$INVOKER$i$0$0$to_path_DBG
require at org/jruby/RubyKernel.java:1082
require at /home/tobi/.rvm/rubies/jruby-head/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:51
Command failed with status (1): [jruby --debug --1.9 -Ispec -S ./bin/rspec...]
Tasks: TOP => spec:shoes
(See full trace by running task with --trace)
just running rspec spec/shoes and rspec spec/swt_shoes works. And so does running a couple of shoes samples that I tried so that's the bright side/good news of it :-)
However this rake task does not work, but it does work with jruby-1.7.4 and the same gem version (Gemfile.lock not changed).
Thanks for maintaining and developing JRuby!
5c96fed seems to fix it - for me. at least I do see only an OpenURI::HTTPError: 503 Forwarding failure which I would assume other reason for it to happen.
please let me know if you still see errors with the specs.
I still see the very same error with rake spec as before. I even ran rvm reinstall jruby-head twice just to make sure but it still breaks in the same way :-/
rvm reinstall jruby-head
The 503 Forwarding error is also not normal/supposed to happen - at least it does not with the JRuby 1.7.4 for everyone that I know about.
I could try to compile/build JRuby myself and try that out - however I'm pretty busy atm so that might take me ike a week or more until I get to it :-/
Cheers and Thanks,
I can confirm that this is happening for me on the master. Not clear how it's happening.
Maybe it's specific to a bundler version?
I'm away from my other PC (from where I reported it) and with shaky wifi for now. When I'm back home and remember it I'll post my bundler version :-)
I doubt this is a bundler issue. IllegalAccessError is most likely a result of our incorrectly generating the to_path method (in the Java land).
Fix #998: Pathname @JRubyMethod methods should be public
It should be fixed in d97e666, please try it as I do not have the setup right now to test it.
And I am truly sorry for this, it should have been obvious that it is a Java visibility problem.
Finished in 53.82 seconds
1126 examples, 1 failure, 3 pending
rspec ./spec/swt_shoes/app_spec.rb:62 # Shoes::Swt::App when attempting to copy text copies text to clipboard
@BanzaiMan do you use tmux? We had some weird clipboard failures so that might be one of them.
I got wifi now, will install head on my laptop and try it out. Will report back here. Thanks so much!
edit: sorry the wifi seems too slow... still cloning
@PragTob I do use tmux. I guess we're really good, then. ;-)