snicol/spire — Issue #16: Favicon 500 status error
Author: snicol
Created: 2011-10-21 21:19:30+00:00
State: open
Labels: spire-0.4

Probably due to Public class returning an array and not an error. Will be fixed in latest gem, but error doesn't replicated in testing git repo and only happens in gem...

NoMethodError: undefined method `[]' for #
/usr/lib/ruby/gems/1.9.1/gems/spire-0.4.0/lib/spire/router.rb:48:in `return_file'
/usr/lib/ruby/gems/1.9.1/gems/spire-0.4.0/lib/spire/router.rb:17:in `route'
/usr/lib/ruby/gems/1.9.1/gems/spire-0.4.0/lib/spire/router.rb:83:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-rewrite-1.2.1/lib/rack/rewrite.rb:20:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/static.rb:53:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/lint.rb:48:in `_call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/lint.rb:36:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/showexceptions.rb:24:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/commonlogger.rb:20:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/chunked.rb:41:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/content_length.rb:14:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/handler/webrick.rb:59:in `service'
/usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/usr/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'