[Rails] files in lib directory not loading
Hi there
I'm trying to install this rack application:
http://fuelyourcoding.com/set-rails-logging-on-fire/
However, my rails3 setup is not picking up my lib file:
app/lib/rack/firebug_logger.rb
which contains:
module Rack
class FirebugLogger
...
end
end
And in my config/environments/development.rb :
App::Application.configure do
...
config.middleware.use Rack::FirebugLogger
end
But rails3 is not finding my lib file :(
uninitialized constant Rack::FirebugLogger (NameError)
Any clues?
thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home