Unable to create database structure

Added by Benoît Capitanio about 10 years ago

Hi everyone.

I try to install Redmine on Solaris 10, and I can't create database structure.

Here the error message :

root@Sol10:redmine-0.9.0>/opt/ruby/bin/rake --trace db:migrate
(in /root/redmine-0.9.0)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Object is not missing constant Project!
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:417:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
/root/redmine-0.9.0/app/models/attachment.rb:36
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions'
/root/redmine-0.9.0/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
/root/redmine-0.9.0/app/models/message.rb:22
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions'
/root/redmine-0.9.0/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/inflector.rb:361:in `constantize'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `each'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `constantize'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize'
/opt/ruby/lib/ruby/1.8/singleton.rb:94:in `new'
/opt/ruby/lib/ruby/1.8/singleton.rb:94:in `instance'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each'
/root/redmine-0.9.0/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers'
/root/redmine-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
/root/redmine-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
/root/redmine-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
/root/redmine-0.9.0/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
/root/redmine-0.9.0/config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
/root/redmine-0.9.0/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/root/redmine-0.9.0/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/root/redmine-0.9.0/config/environment.rb:20
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/root/redmine-0.9.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/root/redmine-0.9.0/vendor/rails/railties/lib/tasks/misc.rake:4
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/opt/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/opt/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/opt/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/opt/ruby/bin/rake:19:in `load'
/opt/ruby/bin/rake:19

I don't know Ruby language.

Regards,

Benoît Capitanio

Replies (1)

(1-1/1)