[Nitro] Mini Nitro example

Ashley Moran work at ashleymoran.me.uk
Wed Sep 5 17:11:50 EDT 2007


On Sep 05, 2007, at 12:48 pm, Arne Brasseur wrote:

> I sincerely hope someone has a use for this (educational or  
> otherwise).
> At least I do :-)


Thanks for putting this up.  I haven't had much luck so far though.   
First Flickr has a major network outage ("one of our main switches  
went on holiday without telling anyone", or something like that).   
Now Flickr is back online, I get an exception when running the app:

iMac-G5-AM:~/Documents/Development/nitro/flikker ashleymoran$ ./launch
  INFO: Starting Mongrel server in debug mode, listening at 0.0.0.0:9000
  INFO: Press Ctrl-C to shutdown; Run with --help for options.
DEBUG: Compiling 'Base#index' super-method
DEBUG: Compiling 'index' view sub-method [format: html]
ERROR: Error while handling '/favicon.ico'
ERROR: Cannot respond to '/favicon.ico' using the 'ico' format  
representation.
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/dispatcher.rb: 
160:in `dispatch'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/dispatcher.rb: 
116:in `dispatch_context'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter.rb:62:in  
`handle_context'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/mongrel.rb: 
124:in `process'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
618:in `process_client'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
617:in `each'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
617:in `process_client'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
736:in `run'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
736:in `initialize'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
736:in `new'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
736:in `run'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
720:in `initialize'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
720:in `new'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
720:in `run'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:271:in `run'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:270:in `each'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:270:in `run'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/mongrel.rb: 
48:in `cloaker_'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:138:in `call'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:138:in `listener'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/mongrel.rb: 
45:in `cloaker_'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:51:in `call'
   /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
configurator.rb:51:in `initialize'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/mongrel.rb: 
44:in `new'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/mongrel.rb: 
44:in `start'
   /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../nitro/lib/nitro/application.rb: 
135:in `start'
   app.rb:12
   LOGGED FROM: /Users/ashleymoran/Documents/Development/nitro/ 
repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter.rb:72:in  
`handle_context'

This is using nitro I pulled from the repository a few days ago, and  
facets I pulled from RubyForge SVN a few minutes ago.  Looks like  
something REALLY simple, so I thought I'd just ask here.  Can anyone  
help?

Thanks
Ashley


More information about the Nitro-general mailing list