Skip to content

Commit

Permalink
IO.popen doesn't take Array argument in Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasb authored and halogenandtoast committed Oct 14, 2011
1 parent bb80506 commit 3b872c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/driver/webkit/browser.rb
Expand Up @@ -129,7 +129,7 @@ def register_shutdown_hook
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

Expand Down

0 comments on commit 3b872c6

Please sign in to comment.