guess what! i placed an application in production mode and i got the same error that you have. A quick fix would be to copy the mce_options.rb file to your app's config/initializers folder.
On Mon, Jul 27, 2009 at 8:37 PM, Jim Ruther Nill <[email protected]> wrote: > it seems that it cant find AppConfig.default_mce_options. It should be in > vendor/plugins/community_engine/config/initializers/mce_options.rb. Is the > file still there? > > > On Mon, Jul 27, 2009 at 12:36 PM, Alejandro <[email protected]> wrote: > >> >> I found what is causing the error: >> >> config.cache_classes = true >> >> in production.rb >> >> What I don't know is why... and it should stay true in production. >> >> Any help will be appreciated. >> >> Thanks >> >> On Jul 27, 11:20 am, Alejandro <[email protected]> wrote: >> > Hi, >> > >> > I've migrated to CE Edge and it works perfect on development, but I've >> > just deployed to production and I can't start the application: >> > >> > => Booting Mongrel >> > => Rails 2.3.2 application starting onhttp:// >> 0.0.0.0:3000/home/ce/vendor/plugins/community_engine/app/contr... >> > users_controller.rb:17: undefined method `merge' for nil:NilClass >> > (NoMethodError) >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/ >> > rubygems/custom_require.rb:31:in `gem_original_require' >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/ >> > rubygems/custom_require.rb:31:in `require' >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/ >> > activesupport-2.3.2/lib/active_support/dependencies.rb:158:in >> > `require_without_desert' >> > from >> /home/socials0/.gem/ruby/1.8/gems/desert-0.5.0/lib/desert/ruby/ >> > object.rb:8:in `require' >> > from >> /home/socials0/.gem/ruby/1.8/gems/desert-0.5.0/lib/desert/ruby/ >> > object.rb:32:in `__each_matching_file' >> > from >> /home/socials0/.gem/ruby/1.8/gems/desert-0.5.0/lib/desert/ruby/ >> > object.rb:7:in `require' >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/ >> > activesupport-2.3.2/lib/active_support/dependencies.rb:265:in >> > `require_or_load' >> > from >> /home/socials0/.gem/ruby/1.8/gems/desert-0.5.0/lib/desert/rails/ >> > dependencies.rb:27:in `depend_on' >> > ... 17 levels... >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/ >> > rails-2.3.2/lib/commands/server.rb:84 >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/ >> > rubygems/custom_require.rb:31:in `gem_original_require' >> > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/ >> > rubygems/custom_require.rb:31:in `require' >> > from script/server:3 >> > >> > Any clues? >> > Thanks! >> >> >> > > > -- > "We do not believe in ourselves until someone reveals that deep inside us > is valuable, worth listening to, worthy of our trust, sacred to our touch." > - E. E. Cummings > -- "We do not believe in ourselves until someone reveals that deep inside us is valuable, worth listening to, worthy of our trust, sacred to our touch." - E. E. Cummings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
