[Nitro] class CgiUtils missing?

George Moschovitis george.moschovitis at gmail.com
Sat Oct 29 05:20:58 EDT 2005


CgiUtils is now Cgi, I refactored things a bit. Perhasp I forgot to
change the CGI adapter.
Will fix. Btw, I really cannot understand why you use plain CGI.



-g.


On 10/28/05, Fabian Buch <fabian at oggu.de> wrote:
> hi
>
> I tried to run my nitro app (which is so far working via webrick (nitro
> 0.24)) in apache via cgi and got the following:
>
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] :
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187]
> uninitialized constant Nitro::CgiAdapter::CgiUtils
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187]  (
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] NameError
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] )
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/server/runner.rb:
> 242:in `invoke'
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro/server.rb:123:in
> `run'
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /usr/lib/ruby/gems/1.8/gems/nitro-0.24.0/lib/nitro.rb:65:in `run'
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /home/david/devblog/public/../run.rb:39
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /home/david/devblog/public/cgi.rb:5:in `require'
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] \tfrom
> /home/david/devblog/public/cgi.rb:5
> [Fri Oct 28 22:00:35 2005] [error] [client 196.202.57.187] Premature
> end of script headers: cgi.rb
>
> So I wanted to know where the class CgiUtils is defined:
>
> r1:/usr/lib/ruby/gems/1.8/gems# grep -r "class CgiUtils" *
> nitro-0.20.0/lib/nitro/adapter/cgi.rb:class CgiUtils
> nitro-0.21.0/lib/nitro/adapter/cgi.rb:class CgiUtils
> nitro-0.21.2/lib/nitro/adapter/cgi.rb:class CgiUtils
> nitro-0.23.0/lib/nitro/adapter/cgi.rb:class CgiUtils
> r1:/usr/lib/ruby/gems/1.8/gems#
>
> So it's removed from nitro-0.24.0? Moved to somwhere else? Not needed
> anymore? (well nitro in cgi is still not working for me)
>
> Any hints? A bug? Anyone out there with a working nitro-0.24.0 in cgi?
>
> Fabian Buch
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>


--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list