Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Auto-select correct Rack adapter

#47

Include Merb (0.9) and Ramaze (maybe other) Rack adapter and select correct one based on dir structure or something else.

So it can be as easy as w/ Rails: just thin start from app dir.

Reported by macournoyer · February 25th, 2008 @ 05:02 PM

State: resolved
Milestone: 0.8.0
Assigned to: macournoyer macournoyer

Activity

  1. Kevin Williams
    Kevin Williams
    • State changed from new to open

    Another option to consider: framework-specific binaries.

    thin_rails

    thin_merb

    thin_ramaze

    etc.

    I'm not saying it's a better idea, just another idea.

    March 5th, 2008 @ 02:51 PM

  2. Matt Todd
    Matt Todd

    I'll definitely contribute to this when the details get ironed out a bit, not only for my own framework but for others as well.

    March 12th, 2008 @ 01:26 PM

  3. macournoyer
    macournoyer

    I just implemented something basic in http://github.com/macournoyer/th...

    See lib/rack/adapter/loader.rb for details. Send me a patch if you can add support for any other framework.

    I'll try to add merb support before closing this.

    March 14th, 2008 @ 12:00 AM

  4. macournoyer
    macournoyer
    • State changed from open to resolved

    now auto detects for rails, ramaze, merb and halycon

    can also specified w/ --adapter option

    April 2nd, 2008 @ 10:00 PM

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.