-
-
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
jruby -S irb broken on solaris in 1.7.16 with JDK 7 #2040
Comments
I have seen such an error before somewhere. what LANG or LC_ALL or locale do have on that machine of yours ? |
I don't have LANG or LC_ALL set. I should point out that I get this error a lot, about all kinds of different files. irb was just an easy way to show it. For example:
I don't have a ~/.gem/jruby/1.9 directory. I do have ~/.gem/jruby/1.9.3, though. RubyFileTest is checking to see if a file exists on line 131; it shouldn't be throwing a ENOENT if the file doesn't exist, it should be returning the empty file spec but apparently it is not. If I change JAVA_HOME to point to Java 8, then I get: $ ./jruby-1.7.16/bin/jruby -S gem environment My path still says java1.7 but I don't think that matters, jruby appears to care about JAVA_HOME but not which java is executable in the path. |
JRuby also breaks for me if I don't have the
Creating the directory fixes Rubygems in JRuby. |
Related: #2032 |
@mulvaney could you verify that it also fixed on solaris ? |
I'm going to proactively resolve this. @mulvaney please let us know if it's not fixed on Solaris. |
jruby -S irb throws missing file errors in 1.7.16 using Java 7. It works ok with Java 8, and it worked fine in 1.7.15 with both Java 7 and Java8.
But the same thing fails in 1.7.16:
The text was updated successfully, but these errors were encountered: