uuid
uuid copied to clipboard
Correct user's home directory detection (windows compatibility for ruby >= 1.9.3p362)
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"
)
By the way, this ruby behavior fixed in trunk now. https://bugs.ruby-lang.org/issues/8034
Thanks the fix worked for me in windows !!! when this will be merged ? The current version (2.3.7) doesn't have it
I installed Ruby 1.9.3p448 and it solved this issue. The merge is not required.