use File::PATH_SEPARATOR (correct on Windows with Ruby 2.x)

This commit is contained in:
Johan Holmberg 2014-01-24 15:53:45 +01:00
parent 1e6e3ca0a2
commit 21ac1f4f01

View File

@ -275,7 +275,7 @@ module Cmdtest
end
def _path_separator
RbConfig::CONFIG["PATH_SEPARATOR"] || ":"
File::PATH_SEPARATOR || ":"
end
def orig_env_path