Project

General

Profile

DMFS instalation problem

Added by Joel Backschat over 10 years ago

Hi guys.

I am trying to install dmfs.

But when i tried to rum
rake --trace redmine:plugins:migrate RAILS_ENV="production"

Following the plugin homepage
https://github.com/danmunn/redmine_dmsf

I receive this errors.

@
/usr/share/redmine$ sudo rake --trace redmine:plugins:migrate RAILS_ENV="production"
  • Invoke redmine:plugins:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    undefined method `acts_as_nested_set' for #<Class:0x00000003978080>
    /usr/lib/ruby/vendor_ruby/active_record/dynamic_matchers.rb:55:in `method_missing'
    /usr/share/redmine/app/models/project.rb:59:in `<class:Project>'
    /usr/share/redmine/app/models/project.rb:18:in `<top (required)>'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `block in require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:359:in `require_or_load'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:313:in `depend_on'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:225:in `require_dependency'
    /usr/share/redmine/lib/plugins/redmine_dmsf-master/lib/redmine_dmsf/patches/project_patch.rb:21:in `<top (required)>'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `block in require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `require'
    /usr/share/redmine/lib/plugins/redmine_dmsf-master/lib/redmine_dmsf/patches.rb:23:in `<top (required)>'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `block in require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `require'
    /usr/share/redmine/lib/plugins/redmine_dmsf-master/lib/redmine_dmsf.rb:24:in `<top (required)>'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `block in require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `require'
    /usr/share/redmine/lib/plugins/redmine_dmsf-master/init.rb:22:in `block in <top (required)>'
    /usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
    /usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
    /usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `each'
    /usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:245:in `load'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:245:in `block in load'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:245:in `load'
    /usr/lib/ruby/vendor_ruby/rails/engine.rb:593:in `block (2 levels) in <class:Engine>'
    /usr/lib/ruby/vendor_ruby/rails/engine.rb:592:in `each'
    /usr/lib/ruby/vendor_ruby/rails/engine.rb:592:in `block in <class:Engine>'
    /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `instance_exec'
    /usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `run'
    /usr/lib/ruby/vendor_ruby/rails/initializable.rb:55:in `block in run_initializers'
    /usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:in `each'
    /usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:in `run_initializers'
    /usr/lib/ruby/vendor_ruby/rails/application.rb:136:in `initialize!'
    /usr/lib/ruby/vendor_ruby/rails/railtie/configurable.rb:30:in `method_missing'
    /usr/share/redmine/config/environment.rb:14:in `<top (required)>'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `block in require'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in `load_dependency'
    /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in `require'
    /usr/lib/ruby/vendor_ruby/rails/application.rb:103:in `require_environment!'
    /usr/lib/ruby/vendor_ruby/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:236:in `call'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:236:in `block in execute'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:231:in `each'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:231:in `execute'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:175:in `block in invoke_with_call_chain'
    /usr/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:168:in `invoke_with_call_chain'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:197:in `block in invoke_prerequisites'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:195:in `each'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:195:in `invoke_prerequisites'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:174:in `block in invoke_with_call_chain'
    /usr/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:168:in `invoke_with_call_chain'
    /usr/lib/ruby/vendor_ruby/rake/task.rb:161:in `invoke'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:149:in `invoke_task'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block (2 levels) in top_level'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `each'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:106:in `block in top_level'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:115:in `run_with_threads'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:100:in `top_level'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:78:in `block in run'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:165:in `standard_exception_handling'
    /usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
    /usr/bin/rake:27:in `<main>'
    Tasks: TOP => redmine:plugins:migrate => environment
    @

Can anione help?