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

hassle/init.rb:2: undefined method `middleware' for ActionController::Dispatcher:Class (NoMethodError) #9

Open
johnam opened this issue Mar 31, 2011 · 1 comment

Comments

@johnam
Copy link

johnam commented Mar 31, 2011

Hi, when running Rails 3.0.5 app with hassle 0.0.1 plugin I get the following error:

(master)c35894b$ thin -e production start

Using rack adapter
/.../vendor/plugins/hassle/init.rb:2: undefined method middleware' for ActionController::Dispatcher:Class (NoMethodError) from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/plugin.rb:81 from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/initializable.rb:25:ininstance_exec'
from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/initializable.rb:25:in run' from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/initializable.rb:50:inrun_initializers'
from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/initializable.rb:49:in each' from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/initializable.rb:49:inrun_initializers'
from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/application.rb:134:in initialize!' from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/application.rb:77:insend'
from /Users/John/.rvm/gems/ree-1.8.7-2011.03@.../gems/railties-3.0.5/lib/rails/application.rb:77:in method_missing' from /.../config/environment.rb:5 from /.../.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require'
from /.../.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require' from /.../rails/.../config.ru:3 from /.../.rvm/gems/ree-1.8.7-2011.03@.../gems/rack-1.2.2/lib/rack/builder.rb:46:ininstance_eval'
from /.../.rvm/gems/ree-1.8.7-2011.03@.../gems/rack-1.2.2/lib/rack/builder.rb:46:in initialize' from /Users/John/rails/.../config.ru:1:innew'
from /Users/John/rails/.../config.ru:1

Thank you,
John

@pjg
Copy link

pjg commented Mar 31, 2011

You might want to use some fork, which works with Rails3: https://github.com/pedro/hassle/network

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