Mikhail Kornienko
2006-Nov-27 09:27 UTC
Rails 1.2RC1 migration problem: uninitialized constant ApplicationController
Hi all, I have a question regarding a strange problem I''m getting if I freeze Rails on 1.2RC1. My application works just fine with version 1.1.6 (the release), but once I do ''rake rails:freeze:edge'' and restart the server, I''m getting the "Application error" error page in browser (path is the site''s root: http://locahost:3000/) and the following output in the log/development.log (sorry about alot of text). Just before you read it, the problem is that ApplicationController seems not to be found. And the problem seems to be somehow related with routing or paths. The problem resolves itself if I revert to stable version by ''rake rails:unfreeze'' and restarting server. As I don''t even know where to start to look for a possible problem, any input is very appreciated. TIA, Mike =================The log error text follows: ----------------------------------- uninitialized constant ApplicationController /Office/WebDevelopment/gakuenblog/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:263:in `load_missing_constant'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:446:in `const_missing'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:458:in `const_missing'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:162:in `constantize'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/actionpack/lib/action_controller/routing.rb:1250:in `recognize'' /Office/WebDevelopment/gakuenblog/config/../vendor/rails/railties/lib/dispatcher.rb:40:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:84:in `process'' /usr/local/lib/ruby/1.8/sync.rb:229:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:83:in `process'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in `process_client'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in `each'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in `process_client'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `new'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `new'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:267:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:266:in `each'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:266:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:127:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb:211:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 /usr/local/bin/mongrel_rails:18:in `load'' /usr/local/bin/mongrel_rails:18 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---