We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c04853 + 6c110e4 commit f90efa0Copy full SHA for f90efa0
1 file changed
lib/mspec/helpers/ruby_exe.rb
@@ -108,7 +108,9 @@ def resolve_ruby_exe
108
exe, *rest = cmd.split(" ")
109
110
if File.file?(exe) and File.executable?(exe)
111
- return [File.expand_path(exe), *rest].join(" ")
+ exe = File.expand_path(exe)
112
+ exe = exe.tr('/', '\\') if PlatformGuard.windows?
113
+ return [exe, *rest].join(" ")
114
end
115
116
nil
0 commit comments