From: nobu@... Date: 2016-03-30T12:49:19+00:00 Subject: [ruby-core:74727] [Ruby trunk Feature#12226] Dir.home with valid named user raises ArgumentError on Windows Issue #12226 has been updated by Nobuyoshi Nakada. Tracker changed from Bug to Feature ---------------------------------------- Feature #12226: Dir.home with valid named user raises ArgumentError on Windows https://bugs.ruby-lang.org/issues/12226#change-57862 * Author: Vais Salikhov * Status: Open * Priority: Normal * Assignee: ---------------------------------------- ``` C:\>C:\Ruby\ruby-2.2.4-x64-mingw32\bin\ruby.exe -ve "p Dir.home; p Dir.home('Administrator')" ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw32] "C:/Users/Administrator" -e:1:in `home': user Administrator doesn't exist (ArgumentError) from -e:1:in `
' ``` -- https://bugs.ruby-lang.org/ Unsubscribe: