From: "robertgleeson (Robert Gleeson)" Date: 2012-08-27T14:57:06+09:00 Subject: [ruby-core:47323] [ruby-trunk - Feature #6937] File.absolute_path(…) has behavior that is inconsistent with File.expand_path(…). Issue #6937 has been updated by robertgleeson (Robert Gleeson). @nobu Thanks for your reply. I just found the behavior odd and unexpected. I thought it'd make more sense to have the same behavior as File.expand_path(���) when it comes to expanding "~". ---------------------------------------- Feature #6937: File.absolute_path(���) has behavior that is inconsistent with File.expand_path(���). https://bugs.ruby-lang.org/issues/6937#change-29059 Author: robertgleeson (Robert Gleeson) Status: Rejected Priority: Low Assignee: Category: Target version: Hey, While hacking on Rubinius I noticed that File.absolute_path does not expand "~" or "~user" to their respective home directory. I think this behavior is quite odd and unexpected. I shared my sentiment on the #rubinius IRC channel and I got directed here. So, what do you say, could File.absolute_path inherit the behavior of File.expand_path in this regard? -- http://bugs.ruby-lang.org/