Error on trunk
Added by Daniel Vandersluis over 15 years ago
I've checked out trunk from svn and am running into an error when trying to start the application (from the web, or by script/console):
/home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:426:in `load_missing_constant': Expected /home/codexed/redmine/app/models/user.rb to define User (LoadError) from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing' from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing' from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:437:in `load_missing_constant' from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:96:in `const_missing' from /home/codexed/redmine/app/models/project.rb:23 from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking' from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in `load_file' from /home/codexed/.gem/ruby/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in `new_constants_in'
My app/models/user.rb file is not modified and it's clearing defining the User class near the top of the file, so I'm not really sure what's going on here... any suggestions?