Note that there are some explanatory texts on larger screens.

plurals
  1. POundefined method `cache_sweeper' for ActionController::Base:Class - warbler
    text
    copied!<p>I am deploying my Jruby Rails application on glassfish with <code>acts_as_audited</code> as a gem/plugin installed.</p> <p>Whenever I try to Audit my model, I am going to get the following error.</p> <p>My Environment is: Jruby 1.6.0.RC2, Rails 3.0.3</p> <p>You can refer here if you guys want to look more on the error <a href="http://www.ruby-forum.com/topic/1053934" rel="nofollow">http://www.ruby-forum.com/topic/1053934</a></p> <p>Please help me out, I stuck up here</p> <pre><code>Application Error org.jruby.rack.RackInitializationException: undefined method `cache_sweeper' for ActionController::Base:Class from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/acts_as_audited-2.0.0.rc6/lib/acts_as_audited.rb:44:in `class_eval' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/acts_as_audited-2.0.0.rc6/lib/acts_as_audited.rb:44 from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/acts_as_audited-2.0.0.rc6/lib/acts_as_audited.rb:68:in `require' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `require' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each' from /home/dev2/glassfishv3/glassfish/domains/domain1/applications/gavel/WEB-INF/gems/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require' ... 20 levels... </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload