#47 ✓resolved
macournoyer

Auto-select correct Rack adapter

Reported by macournoyer | 2008-02-25 17:02:31 UTC | in 0.8.0

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.

Comments and changes to this ticket

  • Kevin Williams

    Kevin Williams 2008-03-05 14:51:32 UTC

    • 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.

  • Matt Todd

    Matt Todd 2008-03-12 13:26:16 UTC

    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.

  • macournoyer

    macournoyer 2008-03-14 00:00:46 UTC

    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.

  • macournoyer

    macournoyer 2008-04-02 22:00:34 UTC

    • State changed from “open” to “resolved”

    now auto detects for rails, ramaze, merb and halycon

    can also specified w/ --adapter option

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 ยป

Pages