Issue #10616 has been reported by Alex Slynko.

----------------------------------------
Bug #10616: Dir.mktmpdir is not setting "d" prefix as default
https://bugs.ruby-lang.org/issues/10616

* Author: Alex Slynko
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.2.0.preview1, 2.2.0.preview2
* Backport: 
----------------------------------------
In Ruby < 2.2.0 when nil was passed as first parameter it was changed to "d"
In latest version this behaviour was changed and now 'd' is default value, but if nil was passed Exception is raised.

I attached tiny patch to this.

---Files--------------------------------
ruby-changes.patch (518 Bytes)


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