+3
-1
lines changedFilter options
+3
-1
lines changed Original file line number Diff line number Diff line change
@@ -108,7 +108,9 @@ def resolve_ruby_exe
108
108
exe, *rest = cmd.split(" ")
109
109
110
110
if File.file?(exe) and File.executable?(exe)
111
-
return [File.expand_path(exe), *rest].join(" ")
111
+
exe = File.expand_path(exe)
112
+
exe = exe.tr('/', '\\') if PlatformGuard.windows?
113
+
return [exe, *rest].join(" ")
112
114
end
113
115
end
114
116
nil
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4