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.

This project is archived and is in readonly mode.

Add --path option to script/server

#1156

The --prefix option was added to spawner in http://dev.rubyonrails.org/chang..., however, the prefix option is still not available to script/server (since it does not use spawner). This patch makes the --prefix option available to Mongrel when run via script/server.

Reported by Chris Cherry · October 2nd, 2008 @ 09:34 AM

State: resolved
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. shuber
    shuber

    +1

    Very useful to develop and test with a prefix locally. Patch applies correctly.

    October 2nd, 2008 @ 09:15 PM

  2. josh
    josh
    • State changed from new to wontfix

    Needs to be updated for the rack version of script/server.

    December 20th, 2008 @ 05:39 PM

  3. Chris Cherry
    Chris Cherry
    • Assigned user set to josh
    • Title changed from Add --prefix option to script/server with Mongrel to Add --path option to script/server

    Fixed patch! Uses Rack::URLMap to do the "prefix" setup. Renamed to --path (seemed to jive better with Rack's internal lingo - see arguments to map)

    January 28th, 2009 @ 08:58 AM

  4. josh
    josh
    • State changed from wontfix to open

    February 3rd, 2009 @ 02:10 AM

  5. Repository
    Repository
    • State changed from open to resolved

    (from [b6e7a76cc573ee35c1df648f35d5865672f55e15]) script/server command can accept --path option to set app's root path [#1156 Add --path option to script/server state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    February 5th, 2009 @ 09:46 PM