I'm the same position. I found a bunch of "solutions" to the nilClass issue caused by overriding the plugin classes but none of them work for me (running rails 2.3.2). If i fix it in production, it breaks in dev, and vice-versa.
On Jul 28, 2009, at 3:46 PM, thestig wrote: > > per the advice of this page: > http://sites.google.com/a/curbly.com/communityengine/customizing-ce-1/developing > > config.after_initialize do > Dependencies.load_once_paths = Dependencies.load_once_paths.select {| > path| (path =~ /(community_engine)/).nil? } > end > > but when I start my rails project I get this: > > => Booting Mongrel > => Rails 2.3.2 application starting on http://0.0.0.0:3000 > c:/ruby/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/rails/ > dependencies.rb:56: > in `look_for_constant_in_parent_module': Constant Rails::Dependencies > from rails > /dependencies.rb not found (NameError) > Constant Dependencies from dependencies.rb not found from c:/ruby/ > lib/ruby/ge > ms/1.8/gems/desert-0.5.0/lib/desert/rails/dependencies.rb:13:in > `load_missing_co > nstant' > from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_suppo > rt/dependencies.rb:80:in `const_missing' > from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_suppo > rt/dependencies.rb:98:in `send' > from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_suppo > rt/dependencies.rb:98:in `const_missing' > from D:/vdb/igl/config/environments/development.rb:22:in > `load_environme > nt' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ > initializer.rb:592:i > n `call' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ > initializer.rb:592:i > n `after_initialize' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ > initializer.rb:591:i > n `each' > ... 10 levels... > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/ > server.rb:8 > 4 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `ge > m_original_require' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `re > quire' > from script/server:3 > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
