A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ruby/mspec/commit/f90efa068791064f955de7a843e96e2d7d3041c2 below:

Merge pull request #15 from ruby/vais/windows · ruby/mspec@f90efa0 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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