[Nitro] class CgiUtils missing?

Fabian Buch fabian at oggu.de
Fri Oct 28 16:11:38 EDT 2005


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




More information about the Nitro-general mailing list