Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: JRuby 1.5.6
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
      None
    • Environment:
      WinXP 32-bit
    • Number of attachments :
      0

      Description

      Running this command in JRuby:
      File.expand_path(File.join('~', 'some_file'))
      => "//some_file"
      yields a return value that is not recognized by Windows. The same command in MRI:
      => "/some_file"
      works fine.

      I have noticed that using:
      File.expand_path('some_file', '~')
      => "C:/some_file"
      yields an acceptable result, although still different than the MRI result:
      => "/some_file"

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Pinny Markowitz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: