Can't run redmine, gravatarhelper::publicmethods
Added by Alex Dimi about 14 years ago
When i try to run my redmine app it keeps giving me this error telling me about some gravatarhelper::publicmethods i did have a error before about ApplicationHelper::GravatarHelper but fixed it with another thread on the help board. How can i install/solve this problem.
This is what shows up
root@hostfox [/home/hostfox/rails_apps/tracker]# rake db:migrate_plugins RAILS_ENV=production --trace (in /home/hostfox/rails_apps/tracker) ** Invoke db:migrate_plugins (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! uninitialized constant GravatarHelper::PublicMethods /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `load_missing_constant' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/hostfox/rails_apps/tracker/app/helpers/application_helper.rb:26 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency' /home/hostfox/rails_apps/tracker/vendor/rails/actionpack/lib/action_controller/helpers.rb:197:in `default_helper_module!' /home/hostfox/rails_apps/tracker/vendor/rails/actionpack/lib/action_controller/helpers.rb:212:in `__send__' /home/hostfox/rails_apps/tracker/vendor/rails/actionpack/lib/action_controller/helpers.rb:212:in `inherited' /home/hostfox/rails_apps/tracker/app/controllers/application_controller.rb:21 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/hostfox/rails_apps/tracker/vendor/plugins/bots_filter/lib/bots_filter.rb:3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/hostfox/rails_apps/tracker/vendor/plugins/bots_filter/init.rb:2:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:48:in `load' /home/hostfox/rails_apps/tracker/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:369:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:165:in `process' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /home/hostfox/rails_apps/tracker/config/environment.rb:20 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
Replies (3)
RE: Can't run redmine, gravatarhelper::publicmethods
-
Added by Felix Schäfer about 14 years ago
It seems you have a misbehaving plugin, bots_filter in this case. See if everything works if you remove it and contact the plugin author if it does.
RE: Can't run redmine, gravatarhelper::publicmethods
-
Added by Alex Dimi about 14 years ago
Still happens i deleted the plugin folder and ran the command again
root@hostfox [/home/hostfox/rails_apps/tracker]# rake db:migrate_plugins RAILS_ENV=production --trace (in /home/hostfox/rails_apps/tracker) ** Invoke db:migrate_plugins (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! uninitialized constant GravatarHelper::PublicMethods /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `load_missing_constant' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /home/hostfox/rails_apps/tracker/app/helpers/application_helper.rb:26 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:224:in `depend_on' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:136:in `require_dependency' /home/hostfox/rails_apps/tracker/vendor/plugins/gravatar_helper/init.rb:2:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin.rb:48:in `load' /home/hostfox/rails_apps/tracker/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:369:in `load_plugins' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:165:in `process' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /home/hostfox/rails_apps/tracker/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /home/hostfox/rails_apps/tracker/config/environment.rb:20 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /home/hostfox/rails_apps/tracker/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' /home/hostfox/rails_apps/tracker/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19
RE: Can't run redmine, gravatarhelper::publicmethods
-
Added by Felix Schäfer about 14 years ago
That /home/hostfox/rails_apps/tracker/vendor/plugins/gravatar_helper
is not part of stock redmine either. I think you should get a fresh checkout and try anew from there.