Rbconfig's Config::CONFIG provides wrong name for Windows 2008 Server ---------------------------------------------------------------------
Key: JRUBY-4352 URL: http://jira.codehaus.org/browse/JRUBY-4352 Project: JRuby Issue Type: Bug Components: Windows Affects Versions: JRuby 1.4 Environment: Windows 2008 Server, JDK 1.6 Reporter: Alex Coles Attachments: 0001-Rbconfig-s-Config-CONFIG-provides-wrong-name-for-Win.patch To reproduce: {noformat} >jruby -rrbconfig -e"puts Config::CONFIG['host_os']" Windows Server 2008 {noformat} This causes lots of issues downstream (Rake, rake-compiler being just one example): {noformat} >jruby -S rake --version rake, version 0.8.7 >jruby -rubygems -e "require 'rake';puts Rake.application.windows?" nil {noformat} since most platform detection Regexes look like this: {noformat} /msdos|mswin|djgpp|mingw/i {noformat} and not this: {noformat} /msdos|mswin|djgpp|mingw|windows/ {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.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