Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.6, JRuby 1.6.7
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Core Classes/Modules
-
Environment:OpenIndiana b151a x86_64
OpenSolaris 2009.06 x86
-
Number of attachments :
Description
I noticed strange error messages when trying to install any gem using RubyGems:
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory -
After doing some investigating I narrowed down the problem to File.directory?:
$ irb irb(main):001:0> JRUBY_VERSION => "1.6.7" irb(main):002:0> File.directory? '/' => false irb(main):003:0> bklang@openindiana:~/jruby-1.6.7$ uname -a SunOS openindiana 5.11 oi_151a i86pc i386 i86pc Solaris
I have verified this is an issue on Solaris, but NOT an issue on OS X. Also this is a regression, as the issue is not present in JRuby-1.6.5.1 and earlier:
$ irb irb(main):001 > JRUBY_VERSION => "1.6.5.1" irb(main):002 > File.directory? "/" => true
Issue Links
- is depended upon by
-
SONAR-4046
JRuby error when launching the Sonar server on Solaris
-
Does the problem persist with -Xnative.enabled=false?