Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.1.2, JRuby 1.6RC1
-
Fix Version/s: JRuby 1.7.4
-
Component/s: HelpWanted, Windows
-
Labels:None
-
Environment:Windows XP, Netbeans IDE
-
Number of attachments :
Description
I used Netbeans IDE
I've tried to create Ruby on rails application with location in UNC path folder.
IDE hangs after push finish button of create Ruby on rails application dialog.
In Output log I see :
exists
create app/controllers
No such file or directory - No such file or directory - //Sun-rashid/work/.
When I used Ruby 1.8.6-p111 as Ruby platform Ruby on Rails application was successfully created.
Issue Links
- is duplicated by
-
JRUBY-5240
FileUtils methods (mkdir, mkdir_p and cp_r) are not accept windows network address: //machine_ip/shareDir
-
-
JRUBY-4523
[windows] File.dirname handles some edge cases differently compared to MRI
-
-
JRUBY-5440
Windows UNC network share inconsistency with MRI Ruby
-
- is related to
-
JRUBY-4903
Can't move folder to a UNC path
-
Indeed, there is a bug. JRuby's File.dirname can't handle UNC filenames properly:
File.dirname("\\\\fedora") -> "\\" File.dirname("\\\\fedora\\share") --> "\\\\fedora"While on MRI:
File.dirname("\\\\fedora") -> "\\\\fedora" File.dirname("\\\\fedora\\share") --> "\\\\fedora\\share"Here's a wrong stack of dirnames, used by fileutils constructed under JRUBY;
Here's MRI's results: