IO.popen doesn't take Array argument in Ruby 1.8.7

refs #176
This commit is contained in:
Niklas Baumstark 2011-10-14 17:31:51 +02:00 committed by Matthew Mongeau
parent bb8050696c
commit 3b872c617b
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class Capybara::Driver::Webkit
def server_pipe_and_pid(server_path)
cmdline = [server_path]
cmdline << "--ignore-ssl-errors" if @ignore_ssl_errors
pipe = IO.popen(cmdline)
pipe = IO.popen(cmdline.join(" "))
[pipe, pipe.pid]
end