#145 new
korczis

Crash when using thin + rails 3.0.6 + linux - !! Unexpected error while processing request: uninitialized constant ActionController::CgiRequest

Reported by korczis | April 17th, 2011 @ 02:09 PM

Thin crashes when I do try use it on my linux box.

I get following error:
!! Unexpected error while processing request: uninitialized constant ActionController::CgiRequest

==============================

Environment:

ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
gem 1.6.2
Rails 3.0.6

thin 1.2.4 codename Flaming Astroboy

When I try to access any page crash with following callstack occurs:

korczis@korczis-nb:~/prog/rich-world/rich-world-server$ thin start -D -V -e production

Using rails adapter Thin web server (v1.2.4 codename Flaming Astroboy) Debugging ON Tracing ON Maximum connections set to 1024 Listening on 0.0.0.0:3000, CTRL+C to stop GET / HTTP/1.1
Host: localhost:3000
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cache-Control: max-age=0

!! Unexpected error while processing request: uninitialized constant ActionController::CgiRequest uninitialized constant ActionController::CgiRequest

/usr/lib/ruby/1.8/rack/adapter/rails.rb:84:in `call'
/usr/lib/ruby/1.8/rack/adapter/rails.rb:75:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/thin/controllers/controller.rb:80:in `start'
/usr/lib/ruby/1.8/thin/runner.rb:174:in `send'
/usr/lib/ruby/1.8/thin/runner.rb:174:in `run_command'
/usr/lib/ruby/1.8/thin/runner.rb:140:in `run!'
/usr/bin/thin:6

Comments and changes to this ticket

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages