Skip to content

Instantly share code, notes, and snippets.

fileservr:/usr/local/development/tnl-com# rake middleware --trace
(in /usr/local/development/tnl-com)
** Invoke middleware (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute middleware
use Rack::Lock
use ActionController::Failsafe
use FlashSessionCookieMiddleware, "_tnl-com_session"
use ActiveRecord::ConnectionAdapters::ConnectionManagement
@acid
acid / Output: uninitialized Constant
Created December 6, 2009 16:42
Middleware Problems
fileservr:/usr/local/development/bla# rake middleware --trace
(in /usr/local/development/bla)
** Invoke middleware (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant FlashSessionCookieMiddleware
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in `load_missing_constant'
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:92:in `const_missing'