I''ve got rForum installed but when I install the comatose plugin, I start getting const_missing errors. I can''t do script/about or even start the app without getting the error below. After I remove the plugin, the errors go away. I''m thinking Can someone suggest where I should look to fix or work around this problem? Thanks, Amr ERROR TRACE when I tried to do ./script/generate comatose_migration usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant Localization (NameError) from ./app/controllers/navbar.rb:4 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from ./app/controllers/application.rb:1 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load'' ... 24 levels... from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/generate.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/generate:3 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Clayton Cottingham
2006-Aug-26 20:33 UTC
Re: Plugin ate my namespace (temporarily I think)
There is a problem with the plugin''s basic lossy approach Ive bee digging into it all morning and this method is not very clean Basically the scraping of repositories is not failsafe as anyone can update the wiki -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Amr Malik Sent: Saturday, August 26, 2006 7:51 AM To: Ruby on Rails: Talk Subject: [Rails] Plugin ate my namespace (temporarily I think) I''ve got rForum installed but when I install the comatose plugin, I start getting const_missing errors. I can''t do script/about or even start the app without getting the error below. After I remove the plugin, the errors go away. I''m thinking Can someone suggest where I should look to fix or work around this problem? Thanks, Amr ERROR TRACE when I tried to do ./script/generate comatose_migration usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenci es.rb:123:in `const_missing'': uninitialized constant Localization (NameError) from ./app/controllers/navbar.rb:4 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenc ies.rb:147:in `require'' from ./app/controllers/application.rb:1 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenc ies.rb:140:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenc ies.rb:140:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenc ies.rb:56:in `require_or_load'' ... 24 levels... from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/generate.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/generate:3 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Clayton Cottingham wrote:> There is a problem with the plugin''s basic lossy approach > > Ive bee digging into it all morning and this method is not very clean > > > Basically the scraping of repositories is not failsafe as anyone can > update > the wikiAre you getting the same problem that I mentioned? I downloaded it from the authors site, so I think the plugin is clean, it''s just that i don''t know how to fix this namespace futzing that is happening when the plugin is loaded. I can''t run script/about or anything in that app''s directory until I un-install the plugin. Other rails installs are fine on the same box. After I load the plugin, rails refuses to recognize the Localization module it cannot load it. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---