Object is not missing constant Issue! ......./dependencies.rb:443:in `load_missing_constant'

Added by NotApplicable NotApplicable over 10 years ago

Could someone please help?

Before I mention the problem, I would like to mention the versions of the various software applications that is needed to run Redmine:

I believe the Apache Web Server version is 2.2.21

/mysql-advanced-5.5.15-linux2.6-x86_64/bin/mysql Ver 14.14 Distrib 5.5.15, for linux2.6 (x86_64) using EditLine wrapper

rails --version
Rails 2.3.5
rake --version
rake, version 0.8.7
ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

I ran the following command, and it gave me "Object is not missing constant Issue!" error
RAILS_ENV=production rake db:migrate --trace

(in /home/abel/Downloads/redmine-1.2.1)
  • Invoke db:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    Object is not missing constant Issue!
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:124:in `send'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:124:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/app/models/project.rb:40
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
    /home/abel/Downloads/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:122:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/app/models/attachment.rb:36
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
    /home/abel/Downloads/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
    /home/abel/Downloads/redmine-1.2.1/app/models/message.rb:22
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
    /home/abel/Downloads/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:364:in `constantize'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `each'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `constantize'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize'
    /usr/lib/ruby/1.8/singleton.rb:94:in `new'
    /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
    /home/abel/Downloads/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
    /home/abel/Downloads/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
    /home/abel/Downloads/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
    /home/abel/Downloads/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
    /home/abel/Downloads/redmine-1.2.1/config/environment.rb:20
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
    /home/abel/Downloads/redmine-1.2.1/vendor/rails/railties/lib/tasks/misc.rake:4
    /usr/lib/ruby/1.8/rake.rb:636:in `call'
    /usr/lib/ruby/1.8/rake.rb:636:in `execute'
    /usr/lib/ruby/1.8/rake.rb:631:in `each'
    /usr/lib/ruby/1.8/rake.rb:631:in `execute'
    /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
    /usr/lib/ruby/1.8/rake.rb:604:in `each'
    /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
    /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:583:in `invoke'
    /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
    /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:2029:in `each'
    /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:2001:in `run'
    /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
    /usr/lib/ruby/1.8/rake.rb:1998:in `run'
    /usr/bin/rake:28