-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
9.0.3.0 file load error #3423
Comments
I'm not using RVM, just using the new 9.0.3.0 straight up... same file errors when using 'require'. This is a blocker for using the new version. |
cold you add |
|
Well now it works for me! When I initially tried 9.0.3.0 I just used it after the upgrade finished and got the file load error as shown. OK, after doing a reboot of my system a couple of days later (for unrelated reasons) and tried it then, it works fine! Just to be sure, I did it with irb and pry too, and no problems. I can 'load' files as normal. This seems to suggest some initialization issue after installing, since after rebooting things now work. I hope this helps track down the nature of the problem. BTW, my system is a 32-bit Linux distro using 4.1.11 kernal, on a Lenovo laptop with I5 cpu. |
Thit!, I didn't mean to close thread. Hit the wrong button. Sorry! |
The error in loading or requiring files can be traced (at least in my case) to the content of my base path of the currently executing 'jirb' ... |
oh this last example fails also on jrub-1_7 branch |
when looking at the previous examples: |
Very old. If someone pipes up that this is still affecting them, we might look at it...but for now I'm closing. |
https://travis-ci.org/mhenrixon/sidekiq-unique-jobs/jobs/592614269
No idea why jRuby is choking on this... Is jRuby passing on the arguments that I initially passed to RSpec? Having to do the following (seems yuck to me) : mhenrixon/sidekiq-unique-jobs@1982926 |
So I installed the new 9.0.3.0 via rvm (2015/10/22) and went to load a file, and get this
error:
jruby-9.0.3.0 :001 > load "primes-utils/lib/primes/utils4test.rb"
LoadError: no such file to load -- primes/utils/version
from org/jruby/RubyKernel.java:939:in
require' from /home/jzakiya/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in
require'from primes-utils/lib/primes/utils4test.rb:4:in
<top>' from org/jruby/RubyKernel.java:957:in
load'from (irb):1:in
<eval>' from org/jruby/RubyKernel.java:978:in
eval'from (irb):1:in
evaluate' from org/jruby/RubyKernel.java:1291:in
loop'from org/jruby/RubyKernel.java:1098:in
catch' from org/jruby/RubyKernel.java:1098:in
catch'I can load this file in any other prior version of JRuby this way with no problems, including 9.0.1.0.
On the other hand, to the extent I was able to 'require' some gems and test them, this version is A LOT FASTER!!
The text was updated successfully, but these errors were encountered: