From: p0deje@... Date: 2017-04-27T06:09:05+00:00 Subject: [ruby-core:80900] [Ruby trunk Bug#13515] Pathname#join doesn't add separator on UNC paths Issue #13515 has been reported by p0deje (Alex Rodionov). ---------------------------------------- Bug #13515: Pathname#join doesn't add separator on UNC paths https://bugs.ruby-lang.org/issues/13515 * Author: p0deje (Alex Rodionov) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- When using `Pathname#join` on Windows, I have no problems when working with normal paths: `irb(main):008:0> Pathname.new('C:/selenium').join('common') => #` However, when doing the same thing on UNC shares, the path is malformed: `irb(main):009:0> Pathname.new('//vboxsrv/selenium').join('common') => #` As you can see, there is no separator prepending `common`. I'm not sure how can I provide a reproducible test script, but let me know if there is anything else I can do to help with issue. -- https://bugs.ruby-lang.org/ Unsubscribe: