uuid icon indicating copy to clipboard operation
uuid copied to clipboard

Correct user's home directory detection (windows compatibility for ruby >= 1.9.3p362)

Open pavel-manylov opened this issue 11 years ago • 3 comments

We could use Dir.home instead of this code, but it will not be compatible with old rubies.

(For ruby >= 1.9.3p362 on windows File.expand_path '.ruby-uuid', '~' will return "C:\\current\\app\\path\\~\\.ruby-uuid")

pavel-manylov avatar Mar 06 '13 13:03 pavel-manylov

By the way, this ruby behavior fixed in trunk now. https://bugs.ruby-lang.org/issues/8034

pavel-manylov avatar Mar 11 '13 05:03 pavel-manylov

Thanks the fix worked for me in windows !!! when this will be merged ? The current version (2.3.7) doesn't have it

luisfernandos avatar Apr 18 '13 03:04 luisfernandos

I installed Ruby 1.9.3p448 and it solved this issue. The merge is not required.

sigmike avatar Oct 09 '13 08:10 sigmike