jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) Client VM 1.7.0_71-b14 +jit [Windows 7-x86]
There's a path separator difference between JRuby and MRI for Etc.systmpdir:
# JRuby
irb(main):001:0> Etc.systmpdir
=> "C:\\Users\\djberge\\AppData\\Local\\Temp\\"
# MRI
irb(main):001:0> Etc.systmpdir
=> "C:/Users/djberge/AppData/Local/temp"
It doesn't bother me either way, but I'm guessing you want to convert to forward slashes to match MRI, and be consistent with Etc.sysconfdir, which does return forward slashes.
jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) Client VM 1.7.0_71-b14 +jit [Windows 7-x86]
There's a path separator difference between JRuby and MRI for Etc.systmpdir:
It doesn't bother me either way, but I'm guessing you want to convert to forward slashes to match MRI, and be consistent with Etc.sysconfdir, which does return forward slashes.