I am getting this error... after installing a few plugins - " Don't know how to build task 'bd:migrate_plugins' " -
Added by Ajmal Mohamed almost 15 years ago
I am getting this error... after installing a few plugins and when migrating -
" Don't know how to build task 'bd:migrate_plugins' " -
Pls help to rectify it.....
Below is the trace
C:\Program Files\BitNami Redmine Stack\apps\redmine>rake bd:migrate_plugins RAIL
S_ENV=production
(in C:/Program Files/BitNami Redmine Stack/apps/redmine)
rake aborted!
Don't know how to build task 'bd:migrate_plugins'
(See full trace by running task with --trace)
C:\Program Files\BitNami Redmine Stack\apps\redmine>rake bd:migrate_plugins RAIL
S_ENV=production --trace
(in C:/Program Files/BitNami Redmine Stack/apps/redmine)
rake aborted!
Don't know how to build task 'bd:migrate_plugins'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:1728:in `[]'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2050:in `invoke_task'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2068:in `standard_exception_handling'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2023:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2001:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2068:in `standard_exception_handling'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:1998:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bi
n/rake:31
C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19:in `load'
C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19
C:\Program Files\BitNami Redmine Stack\apps\redmine>
Replies (2)
Sorry the cmd shd be db rather than bd..but the real error I am getting after installing a few plugins is - undefined local variable or method `acts_as_customizable' for #<Class:0x4693a58>
-
Added by Ajmal Mohamed almost 15 years ago
I am getting this error... after installing a few plugins and when migrating -
- Invoke db:migrate_plugins (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
undefined local variable or method `acts_as_customizable' for #<Class:0x4693a58>
Pls help to rectify it.....
Below is the trace
C:\Program Files\BitNami Redmine Stack\apps\redmine>rake db:migrate_plugins RAILS_ENV=production --trace
(in C:/Program Files/BitNami Redmine Stack/apps/redmine)
- Invoke db:migrate_plugins (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
undefined local variable or method `acts_as_customizable' for #<Class:0x4693a58>
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activerecord/li
b/active_record/base.rb:1672:in `method_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/models/user.rb:48
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `gem_original_require'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:355:in `new_constants_in'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:102:in `require_or_load'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:261:in `load_missing_constant'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:468:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:480:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:486:in `send'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:486:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/models/project.rb:23
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `gem_original_require'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:355:in `new_constants_in'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:102:in `require_or_load'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:261:in `load_missing_constant'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:468:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:480:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:486:in `send'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:486:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/models/query.rb:96
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `gem_original_require'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:355:in `new_constants_in'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/plugins/Ubik-redmine_
issues_group-92ac449/init.rb:2:in `evaluate_init_rb'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin.rb:95:in `evaluate_init_rb'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin.rb:91:in `evaluate_init_rb'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin.rb:44:in `load'
C:/Program Files/BitNami Redmine Stack/apps/redmine/config/../vendor/plugins/eng
ines/lib/engines/plugin.rb:77:in `load'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin/loader.rb:33:in `load_plugins'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin/loader.rb:32:in `each'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra
ils/plugin/loader.rb:32:in `load_plugins'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in
itializer.rb:292:in `load_plugins'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in
itializer.rb:142:in `process'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in
itializer.rb:97:in `send'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in
itializer.rb:97:in `run'
C:/Program Files/BitNami Redmine Stack/apps/redmine/config/environment.rb:20
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `gem_original_require'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust
om_require.rb:31:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:355:in `new_constants_in'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l
ib/active_support/dependencies.rb:510:in `require'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ta
sks/misc.rake:3
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:636:in `call'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:636:in `execute'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:631:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:631:in `execute'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:597:in `invoke_with_call_chain'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:in `sync
hronize'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:590:in `invoke_with_call_chain'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:607:in `invoke_prerequisites'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:604:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:604:in `invoke_prerequisites'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:596:in `invoke_with_call_chain'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:in `sync
hronize'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:590:in `invoke_with_call_chain'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:583:in `invoke'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2051:in `invoke_task'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2029:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2068:in `standard_exception_handling'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2023:in `top_level'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2001:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:2068:in `standard_exception_handling'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li
b/rake.rb:1998:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bi
n/rake:31
C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19:in `load'
C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19
C:\Program Files\BitNami Redmine Stack\apps\redmine>
RE: I am getting this error... after installing a few plugins - " Don't know how to build task 'bd:migrate_plugins' " -
-
Added by Eric Davis almost 15 years ago
Ajmal Mohamed wrote:
undefined local variable or method `acts_as_customizable' for #<Class:0x4693a58>
It sounds like you're missing a few of Redmine's built in plugins, one of which is 'acts_as_customizable'. Can you tell me what version of Redmine you are running and the output of dir vendor/plugins
?
Eric Davis