"Object is not missing constant Issue!" on CentOS 5.5
Added by Jeremy Ross about 14 years ago
when I run:
$ RAILS_ENV=production rake db:migrate
I get:
(in /home/jeremyross/www/redmine) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Object is not missing constant Issue! /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:417:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing' /home/jeremyross/www/redmine/app/models/project.rb:35 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/jeremyross/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `const_missing' /home/jeremyross/www/redmine/app/models/attachment.rb:36 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/jeremyross/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable' /home/jeremyross/www/redmine/app/models/message.rb:22 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /home/jeremyross/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:361:in `constantize' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `each' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `constantize' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize' /usr/local/lib/ruby/1.8/singleton.rb:94:in `new' /usr/local/lib/ruby/1.8/singleton.rb:94:in `instance' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each' /home/jeremyross/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers' /home/jeremyross/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks' /home/jeremyross/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send' /home/jeremyross/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks' /home/jeremyross/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher' /home/jeremyross/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:185:in `process' /home/jeremyross/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /home/jeremyross/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /home/jeremyross/www/redmine/config/environment.rb:20 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /home/jeremyross/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/jeremyross/www/redmine/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in `load' /usr/local/bin/rake:19
I'm running:
CentOS 5.5
Ruby 1.8.6
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
mysql (2.7)
rack (1.2.1, 1.0.1)
rails (2.3.5)
rake (0.8.7)
rubygems-update (1.3.7)
Please help!
Jeremy
Replies (8)
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Vagner Santos about 14 years ago
I have same problem! What is "Object is not missing constant Issue"?
Please help us!
[[]]
# RAILS_ENV=production rake db:migrate --trace
(in /opt/vhosts/rubyserver/extracap/redmine) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Object is not missing constant Issue! /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:417:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/app/models/project.rb:35 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /opt/vhosts/rubyserver/extracap/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/app/models/attachment.rb:36 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /opt/vhosts/rubyserver/extracap/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable' /opt/vhosts/rubyserver/extracap/redmine/app/models/message.rb:22 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' /opt/vhosts/rubyserver/extracap/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:361:in `constantize' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `each' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `constantize' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize' /usr/local/lib/ruby/1.8/singleton.rb:95:in `new' /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks' /opt/vhosts/rubyserver/extracap/redmine/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher' /opt/vhosts/rubyserver/extracap/redmine/config/../vendor/rails/railties/lib/initializer.rb:185:in `process' /opt/vhosts/rubyserver/extracap/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /opt/vhosts/rubyserver/extracap/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /opt/vhosts/rubyserver/extracap/redmine/config/environment.rb:20 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /opt/vhosts/rubyserver/extracap/redmine/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in `load' /usr/local/bin/rake:19
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Felix Schäfer about 14 years ago
What ruby/rails/rake/rack/redmine versions? What plugins?
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Vagner Santos about 14 years ago
# ruby --version; rails --version; gem list --local
ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux] Rails 2.3.8 *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5) actionpack (2.3.8, 2.3.5, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.3.5, 1.15.6) activeresource (2.3.8, 2.3.5) activesupport (2.3.8, 2.3.5, 1.4.4) fastthread (1.0.7) mysql (2.8.1) passenger (2.2.15) rack (1.1.0, 1.0.1) rails (2.3.8, 2.3.5) rake (0.8.7)
thanks
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Felix Schäfer about 14 years ago
That all looks ok. The mysql
gem installed properly? Do you have any redmine plugin installed?
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Vagner Santos about 14 years ago
Shäfer, thank you very much! Your questions help me. :D
The MySQL is from lampp installation and libs not was in ldconf.
I put "/opt/lampp/lib/mysql" in a file in "/etc/ld.so.conf.d" and I ran "rake db:migrate" again.
Regards,
Vagner
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by NotApplicable NotApplicable about 13 years ago
I still failed to get RedMine working.
I navigated to /etc/ld.so.conf.d/ folder.
I opened libc.conf
My manually installed MySQL is installed in the following folder:
/usr/local/mysql
I added /usr/local/mysql to the libc.conf
However, it still failed. Did you have to do a system reboot?
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Aleksey Prokhorov over 12 years ago
I've solved the same problem reinstalling mysql gem (appeared after Ubuntu update):
gem uninstall mysql gem install mysql
RE: "Object is not missing constant Issue!" on CentOS 5.5 - Added by Dave Ford over 11 years ago
Two years later, this thread still adds value! Thank you all! Just an FYI, here were the factors around my issue.
1. We wanted to upgrade from MySQL 5.0.77 to 5.0.96
2. We moved a working copy of Redmine and Ruby to another system (same o/s and specs) to execute the MySQL upgrade and test DR
Here is what we did:
UPGRADE MYSQL
1. Install MySQL 5.0.96 on the new server
2. Run this on the old server: mysqldump --all-databases --no-data --routines > dump-defs.sql
3. Run this on the old server: mysqldump --all-databases > dump-dbs.sql
4. Move the dump files to the new server
5. Run this on the new server: mysql < dump-defs.sql
6. Run this on the new server: mysql < dump-dbs.sql
RECONFIGURE REDMINE
1. Copy the Redmine and Ruby directories to the new server
2. Install these gems on the new server: i18n-0.4.2.gem, mysql-2.8.1.gem, rack-1.1.1.gem
3. Run this on the new server from the Redmine directory: rake db:migrate RAILS_ENV="production"
4. Start Redmine
Hope this helps someone, and thanks to all on this thread.
Cheers,
Dave