Actions
Defect #2441
closedUpgrade rake migration fails: uninitialized constant ActiveSupport::Dependencies
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
2009-01-04
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
I'm trying to upgrade from the previous release of redmine to the latest, and was following the Upgrade doc on the wiki to do the database migration, however when I do it I get the following:
rake db:migrate RAILS_ENV="production" --trace (in /usr/share/redmine) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! uninitialized constant ActiveSupport::Dependencies /usr/share/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:278:in `load_missing_constant' /usr/share/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:467:in `const_missing' /usr/share/redmine/vendor/plugins/actionwebservice/init.rb:4:in `evaluate_init_rb' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin.rb:95:in `evaluate_init_rb' /usr/share/redmine/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin.rb:91:in `evaluate_init_rb' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin.rb:44:in `load' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:33:in `load_plugins' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `each' /usr/share/redmine/vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `load_plugins' /usr/share/redmine/vendor/rails/railties/lib/initializer.rb:283:in `load_plugins' /usr/share/redmine/vendor/rails/railties/lib/initializer.rb:138:in `process' /usr/share/redmine/vendor/rails/railties/lib/initializer.rb:93:in `send' /usr/share/redmine/vendor/rails/railties/lib/initializer.rb:93:in `run' /usr/share/redmine/config/environment.rb:20 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/share/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require' /usr/share/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in' /usr/share/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require' /usr/share/redmine/vendor/rails/railties/lib/tasks/misc.rake:3 /usr/lib/ruby/1.8/rake.rb:546:in `call' /usr/lib/ruby/1.8/rake.rb:546:in `execute' /usr/lib/ruby/1.8/rake.rb:541:in `each' /usr/lib/ruby/1.8/rake.rb:541:in `execute' /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:1183:in `each' /usr/lib/ruby/1.8/rake.rb:1183:in `send' /usr/lib/ruby/1.8/rake.rb:1183:in `each' /usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:494:in `invoke' /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28
am I missing something here?
Actions