Ben Klang created JRUBY-6494: -------------------------------- Summary: File#directory? always returns false on Solaris Key: JRUBY-6494 URL: https://jira.codehaus.org/browse/JRUBY-6494 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.6, JRuby 1.6.7 Environment: OpenIndiana b151a x86_64 OpenSolaris 2009.06 x86 Reporter: Ben Klang Assignee: Thomas E Enebo Priority: Critical
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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email