Check for Windows platform in a jruby compatible way
This commit is contained in:
parent
83a55e176c
commit
01c1a064f5
|
@ -49,8 +49,7 @@ module CapybaraWebkitBuilder
|
|||
end
|
||||
|
||||
def path_to_binary
|
||||
case RUBY_PLATFORM
|
||||
when /mingw32/
|
||||
if Gem.win_platform?
|
||||
"src/debug/webkit_server.exe"
|
||||
else
|
||||
"src/webkit_server"
|
||||
|
|
Loading…
Reference in New Issue