I just updated backgroundrb to the latest version, and now I get this: uninitialized constant MiddleMan /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:123:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:131:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:133:in `const_missing'' #{RAILS_ROOT}/app/models/client_dispatch.rb:3:in `get_worker'' #{RAILS_ROOT}/app/models/event.rb:93:in `save_all_from_url!'' #{RAILS_ROOT}/app/controllers/events_controller.rb:16:in `create'' /usr/local/bin/mongrel_rails:1 This error occured while loading the following files: middle_man.rb Supposedly I dont have middle_man.rb any ideas? Thanks for your help. Thank You, Ben Johnson E: bjohnson at contuitive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060707/66b9a868/attachment.html
Ezra Zygmuntowicz
2006-Jul-07 20:47 UTC
[Backgroundrb-devel] uninitialized constant MiddleMan
On Jul 7, 2006, at 1:38 PM, Ben Johnson wrote:> I just updated backgroundrb to the latest version, and now I get this: > > uninitialized constant MiddleMan > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ > active_support/dependencies.rb:123:in `const_missing'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ > active_support/dependencies.rb:131:in `const_missing'' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ > active_support/dependencies.rb:133:in `const_missing'' > #{RAILS_ROOT}/app/models/client_dispatch.rb:3:in `get_worker'' > #{RAILS_ROOT}/app/models/event.rb:93:in `save_all_from_url!'' > #{RAILS_ROOT}/app/controllers/events_controller.rb:16:in `create'' > /usr/local/bin/mongrel_rails:1 > > > This error occured while loading the following files: > middle_man.rb > > > Supposedly I dont have middle_man.rb any ideas? > > Thanks for your help. > > Thank You, > Ben Johnson > E: bjohnson at contuitive.comBen- That is strange because there is no file called middle_man.rb. It looks like the plugin is not getting loaded for you on the rails side of things. Did you install the plugin in vendor/plugins/backgroundrb? If so then you should be good to go. I have never seen that error before so you will have to check and make sure you have installed it correctly. Also maybe include some snippets of code from your controllers where you call middleman so I can see what you are doing. -Ezra -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060707/ba9b4967/attachment.html