Update OS_NAMES in RbConfigLibrary with additional mappings for other likely host OSes --------------------------------------------------------------------------------------
Key: JRUBY-1958 URL: http://jira.codehaus.org/browse/JRUBY-1958 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Reporter: Charles Oliver Nutter Fix For: JRuby 1.1 I added an OS_NAMES map in RbConfigLibrary to make OS checks work on JRuby like they do on regular Ruby. The problem with the OS name Java provides is that it has been "niced up", providing e.g. "Mac OS X" instead of some variant of "darwin". This makes it very difficult for folks using JRuby to provide cross-impl OS checks. I only added three I knew of: "Mac OS X" and "Darwin" map to "darwin" (Sun JDK and soylatte, respectively), and "Linux" maps to "linux". A more complete list of possible os.name values is here: http://lopica.sourceforge.net/os.html We should use this list along with a list of the names Ruby uses to make this map a bit more comprehensive. -- 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