Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `cache_sweeper' #600

Open
ari opened this issue May 15, 2016 · 1 comment
Open

undefined method `cache_sweeper' #600

ari opened this issue May 15, 2016 · 1 comment
Assignees
Milestone

Comments

@ari
Copy link
Owner

ari commented May 15, 2016

I'm trying to call the annotate gem in order to update the documentation in the model. But I get this error:

NoMethodError: undefined method `cache_sweeper' for TagsController:Class
          method_missing at org/jruby/RubyBasicObject.java:1606
  <class:TagsController> at /Users/ari/svn/jobsworth/app/controllers/tags_controller.rb:3
                   <top> at /Users/ari/svn/jobsworth/app/controllers/tags_controller.rb:2
                    load at org/jruby/RubyKernel.java:962
      block in load_file at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:457
        new_constants_in at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:647
               load_file at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:456
         require_or_load at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:354
               depend_on at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:317
      require_dependency at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:233
         block in (root) at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/railties-4.2.6/lib/rails/engine.rb:1
                    each at org/jruby/RubyArray.java:1593
    block in eager_load! at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/railties-4.2.6/lib/rails/engine.rb:472
                    each at org/jruby/RubyArray.java:1593
             eager_load! at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/railties-4.2.6/lib/rails/engine.rb:471
             eager_load! at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/railties-4.2.6/lib/rails/engine.rb:469
             eager_load! at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/railties-4.2.6/lib/rails/engine.rb:346
                   <top> at /Users/ari/.rbenv/versions/jruby-9.1.0.0/lib/ruby/gems/shared/gems/annotate-2.7.1/lib/annotate.rb:147
                    load at org/jruby/RubyKernel.java:962
                   <top> at /Users/ari/.rbenv/versions/jruby-9.1.0.0/bin/annotate:22
@ari ari assigned k41n May 15, 2016
@ari ari added this to the 5.0 milestone May 15, 2016
@k41n
Copy link
Collaborator

k41n commented Jun 17, 2016

@ari I couldn't reproduce it. I execute two commands rails g annotate:install and take annotate models. And both of them passed successful.

@ari ari modified the milestones: 5.0, 5.1 Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants