Issue #12226 has been reported by Vais Salikhov.

----------------------------------------
Bug #12226: Dir.home with valid named user raises ArgumentError on Windows
https://bugs.ruby-lang.org/issues/12226

* Author: Vais Salikhov
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw32]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
```
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 `<main>'
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>