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

Lars Olsson lasso at lassoweb.se
Fri Jun 30 15:56:27 EDT 2006


Works great. Thanks!

One thought though...upgrading from devlab doesn't give me the 
\bin\gen.bat I get when installing from rubyforge. A bug?


Kindly

/lasso

________________________________________
Lars Olsson
lasso at lassoweb.nu
http://www.lassoweb.nu/

Bryan Soto skrev:
> On 6/30/06, Lars Olsson <lasso at lassoweb.se> wrote:
>> The latest mongrel on Win XP doesn't seem to like Nitro very much.
>> Firefox just gets a blank page and debug is giving me the following
>> error on every page access:
>>
> 
> Yeah, Mongrel made a modification to its interface. :/
> 
> Two options:
> 
> Beta gems which fix this and other bugs. See here:
> http://rubyforge.org/pipermail/nitro-general/2006-June/005121.html
> 
> 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.
> 
> Good luck,
> 
> Bryan
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


More information about the Nitro-general mailing list