buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Sieger (JIRA)" <>
Subject [jira] Created: (BUILDR-54) File.normalize_path broken on Mac OS X
Date Fri, 07 Mar 2008 17:25:46 GMT
File.normalize_path broken on Mac OS X

                 Key: BUILDR-54
             Project: Buildr
          Issue Type: Bug
          Components: Core features
    Affects Versions: 1.3
         Environment: Mac OS X
            Reporter: Nick Sieger
            Priority: Blocker
             Fix For: 1.3
         Attachments: common-mswin.patch

The File.normalize_path function introduced in rev 634463 is broken on Mac. The code:

Config::CONFIG["host_os"] =~ /win/i

is not sufficient to detect Windows, because on Mac OS X:

$ ruby -rrbconfig -e 'puts Config::CONFIG["host_os"]'
$ jruby -rrbconfig -e 'puts Config::CONFIG["host_os"]'

Attached is a patch to fix.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message