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 `middleware' #3

Open
o-sam-o opened this issue Sep 28, 2010 · 2 comments
Open

undefined method `middleware' #3

o-sam-o opened this issue Sep 28, 2010 · 2 comments

Comments

@o-sam-o
Copy link

o-sam-o commented Sep 28, 2010

ska:swarm sam$ rails g rails_metrics Metric
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from <top (required)> at /Users/sam/Programming/ruby/swarm/config/application.rb:7)
/Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/railties-3.0.0/lib/rails/railtie/configuration.rb:76:in method_missing': undefined methodmiddleware' for #Rails::Engine::Configuration:0x000001015dd958 (NoMethodError)
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/rails_metrics-0.1/lib/rails_metrics/engine.rb:6:in <class:Engine>' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/rails_metrics-0.1/lib/rails_metrics/engine.rb:2:inmodule:RailsMetrics'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/rails_metrics-0.1/lib/rails_metrics/engine.rb:1:in <top (required)>' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/rails_metrics-0.1/lib/rails_metrics.rb:112:inrequire'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/rails_metrics-0.1/lib/rails_metrics.rb:112:in <top (required)>' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:64:inrequire'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:64:in block (2 levels) in require' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:62:ineach'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:62:in block in require' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:51:ineach'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:51:in require' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/bundler-1.0.0.rc.6/lib/bundler.rb:112:inrequire'
from /Users/sam/Programming/ruby/swarm/config/application.rb:7:in <top (required)>' from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/railties-3.0.0/lib/rails/commands.rb:15:inrequire'
from /Users/sam/.rvm/gems/ruby-1.9.2-p0@sw/gems/railties-3.0.0/lib/rails/commands.rb:15:in <top (required)>' from script/rails:6:inrequire'

@o-sam-o
Copy link
Author

o-sam-o commented Sep 28, 2010

Fixed here: http://github.com/milann/rails_metrics

@splattael
Copy link

It works in master and has been fixed in: 552e811

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