From: Tanaka Akira Date: 2012-12-12T21:03:45+09:00 Subject: [ruby-core:50822] Re: [ruby-trunk - Bug #7547] Dir.mktmpdir('~something') tries to expand a profile directory 2012/12/12 charliesome (Charlie Somerville) : > (({Dir.mktmpdir})) uses (({File.expand_path})) internally, which is responsible for expanding out the ~ to home directories. This behaviour is totally intentional by (({File.expand_path})), but I'm not sure if it was intended by the author of (({Dir.mktmpdir})) When I implemented Dir.mktmpdir first, I didn't assume Dir.mktmpdir expands ~. I think ~ should be expanded by shell as Unix. -- Tanaka Akira