[Nitro] Lastest nitro + mongrel on WIn XP doesn't work

James Britt james.britt at gmail.com
Fri Jun 30 14:49:08 EDT 2006


Bryan Soto wrote:

> 
> Or modify the file
> c:\ruby\lib\ruby\gems\1.8\gems\nitro-0.30.0\lib\nitro\adapter\mongrel.rb
> as follows:
> 
> ==
>    def handle(req, res)
>      unless handle_file(req, res)
>        path = req.path_info
> 
>        begin
>          context = Context.new(@server)
> 
> -        context.in = StringIO.new(req.body || "")
> +       context.in = StringIO.new(req.body.to_s)
> ==
> 
> The paths are from memory, so hopefully they're correct.

That error sounded familiar; it was happening even with, I think the 
older Mongrel or SCGI.  That's the patch I submitted about a week ago.


-- 
James Britt

"Judge a man by his questions, rather than his answers."
  - Voltaire


More information about the Nitro-general mailing list