Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException requiring minitest with JRuby 9000 #2570

philr opened this Issue Feb 5, 2015 · 1 comment


None yet
2 participants
Copy link

philr commented Feb 5, 2015

I am encountering a ClassCastException when attempting to require 'minitest' on JRuby master:

$ ruby -v
jruby (2.2.0p0) 2015-02-05 cad0d25 OpenJDK 64-Bit Server VM 24.75-b04 on 1.7.0_75-b13 +jit [linux-amd64]

$ ruby -e "gem 'minitest', '5.5.1'; require 'minitest'"
LoadError: load error: minitest -- java.lang.ClassCastException: java.lang.String cannot be cast to org.jruby.runtime.builtin.IRubyObject
     require at org/jruby/
     require at /home/philr/.rvm/rubies/jruby-head/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
  __script__ at -e:1

Judging by Travis CI builds, this issue seems to have started somewhere between a10fccc and c804f97.


This comment has been minimized.

Copy link
Contributor Author

philr commented Feb 5, 2015

I have just updated to 1993f47 and this issue is no longer occurring.

@philr philr closed this Feb 5, 2015

@enebo enebo added this to the milestone Apr 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.