#250 open

Can't configure Webrat to use eg. thin instead of mongrel

Reported by qoobaa | May 26th, 2009 @ 12:25 PM

Webrat is using mongrel by default (for Selenium testing) and there's no way to change it. Mongrel is not Ruby 1.9.1 compatible. Using mongrel makes Webrat (the Selenium part) unusable in Ruby 1.9.1. There must be some way to change it in configuration.

Comments and changes to this ticket

  • qoobaa

    qoobaa May 26th, 2009 @ 12:26 PM

    • Tag set to bug, ruby1.9, selenium, webrat
  • gaffo

    gaffo May 28th, 2009 @ 07:08 PM

    • State changed from “new” to “open”

    I'm not sure about changing the dependency from mongrel to thin. I don't know much about thin admittedly.

  • gaffo

    gaffo June 5th, 2009 @ 10:53 AM

    • State changed from “open” to “awaiting-patch”

    Okay, I think the best way to put this in would be to create a
    :rails_thin application server and mode. So mainly renaming your test, adding to the application_server_factory spec, and it'd also be great to have a spec for the application_servers/rails_thin so we know it's shelling out correctly.

    Thanks for the work so far, it's looking good.

  • Eric Kidd

    Eric Kidd April 21st, 2010 @ 08:37 AM

    Patch here:


    Please let me know if you'd like any further changes, or more unit tests! I've tried to add tests corresponding to those used for plain ':rails', but I'm happy to add more.

  • Damian Janowski

    Damian Janowski April 24th, 2010 @ 11:40 PM

    • State changed from “awaiting-patch” to “open”


    I may be missing something. But couldn't we simply run ./script/server from inside RAILS_ROOT and let Rails decide which server to use? I think it already handles Thin/Mongrel/WEBrick?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket