Skip to content

1.7.5.dev: error for rake spec for shoes4 (bundler/setup IllegalAcceError to_path) #998

@PragTob

Description

@PragTob

Hi everyone,

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
rake aborted!
Command failed with status (1): [jruby --debug --1.9 -Ispec  -S ./bin/rspec...]
org/jruby/RubyProc.java:271:in `call'
/home/tobi/github/shoes4/Rakefile:20:in `jruby_run'
/home/tobi/github/shoes4/Rakefile:38:in `jruby_rspec'
/home/tobi/github/shoes4/Rakefile:138:in `(root)'
org/jruby/RubyProc.java:271:in `call'
org/jruby/RubyArray.java:1613:in `each'
/home/tobi/github/shoes4/Rakefile:101:in `(root)'
org/jruby/RubyProc.java:271:in `call'
org/jruby/RubyArray.java:1613:in `each'
org/jruby/RubyArray.java:1613:in `each'
org/jruby/RubyArray.java:1613:in `each'
org/jruby/RubyKernel.java:1101:in `load'
org/jruby/RubyKernel.java:1121:in `eval'
/home/tobi/.rvm/gems/jruby-head@shoes4/bin/ruby_noexec_wrapper:14:in `(root)'
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! ❤️
Tobi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions