Michal Gabrukiewicz
2007-Dec-10 20:21 UTC
deployed application but it seems that no models are loaded
i have a strange problem .. i successfully deployed my application and the mongrel cluster runs fine .. now on the application level i get the following error when i request the app via the browser (it looks like not all files have been loaded automatically, because also on a console i get the same error): /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:263:in `load_missing_constant'' /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in `const_missing'' /var/www/quadratmeter/releases/20071210201141/app/views/layouts/default.rhtml:22:in `_run_rhtml_47var47www47quadratmeter47releases472007121020114147app47views47layouts47default46rhtml'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:325:in `send'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:325:in `compile_and_render_template'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:301:in `render_template'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:260:in `render_file'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/layout.rb:254:in `render_without_benchmark'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:50:in `render'' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:50:in `render'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1102:in `perform_action_without_filters'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:696:in `call_filters'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in `perform_action'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `send'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `process_without_filters'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:in `process_without_session_management_support'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in `process'' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:in `process'' /var/lib/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in `dispatch'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:76:in `process'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:74:in `synchronize'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:74:in `process'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:155:in `process_client'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in `each'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in `process_client'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `initialize'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `new'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in `initialize'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in `new'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:282:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:281:in `each'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:281:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:128:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/command.rb:212:in `run'' /var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:281 /usr/bin/mongrel_rails:16:in `load'' /usr/bin/mongrel_rails:16 i have no clue... -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
Michal Gabrukiewicz
2007-Dec-10 20:22 UTC
Re: deployed application but it seems that no models are loa
sorry and the error is uninitialized constant ActionView::Base::CompiledTemplates::Q2 Q2 is a class which lives in models .. all that stuff work fine on my dev machine -- 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?hl=en -~----------~----~----~----~------~----~------~--~---