How to run cucumber selenium using Thin server instead of default Webrick? How to run cucumber selenium using Thin server instead of default Webrick? selenium selenium

How to run cucumber selenium using Thin server instead of default Webrick?


This is the new way to do this with recent capybara

require "rack/handler/unicorn"Capybara.register_server(:unicorn) do |app, port, host|  Rack::Handler::Unicorn.run(app, :Port => port)endCapybara.server = :unicorn


Two ways:

1) turn off capybara's built in server and run it yourself.

2) Looks like someone patched in the capability here https://github.com/jnicklas/capybara/pull/175