active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `add_options' for class `ActionView::Helpers::InstanceTag' (NameError)
Added by Vlad Vor over 9 years ago
Hi, after run bundle upgrade I got
DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all config.log_level = :info . (called from block in tsort_each at /usr/local/lib/ruby/2.0.0/tsort.rb:150) Exiting! /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `add_options' for class `ActionView::Helpers::InstanceTag' (NameError) from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain' from /usr/local/share/redmine-3.0/config/initializers/10-patches.rb:106:in `<class:InstanceTag>' from /usr/local/share/redmine-3.0/config/initializers/10-patches.rb:97:in `<module:Helpers>' from /usr/local/share/redmine-3.0/config/initializers/10-patches.rb:96:in `<module:ActionView>' from /usr/local/share/redmine-3.0/config/initializers/10-patches.rb:95:in `<top (required)>' from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load' from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `block in load' from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency' from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/engine.rb:652:in `block in load_config_initializer' from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:166:in `instrument' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/engine.rb:651:in `load_config_initializer' I /var/log/thin/redmine.0.log Row 69 Col 1 2:32 Ctrl-K H for help from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/engine.rb:615:in `each' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/engine.rb:615:in `block in <class:Engine>' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `instance_exec' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `run' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:55:in `block in run_initializers' from /usr/local/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each' from /usr/local/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' from /usr/local/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from' from /usr/local/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from' from /usr/local/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:44:in `each' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:44:in `tsort_each_child' from /usr/local/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from' from /usr/local/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component' from /usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each' from /usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component' from /usr/local/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/initializable.rb:54:in `run_initializers' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/application.rb:352:in `initialize!' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/railtie.rb:194:in `public_send' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.2.3/lib/rails/railtie.rb:194:in `method_missing' from /usr/local/share/redmine/config/environment.rb:14:in `<top (required)>' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/share/redmine/config.ru:3:in `block in <main>' from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval' from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize' from /usr/local/share/redmine/config.ru:1:in `new' from /usr/local/share/redmine/config.ru:1:in `<main>' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/rack/adapter/loader.rb:33:in `eval' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/rack/adapter/loader.rb:33:in `load' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/rack/adapter/loader.rb:42:in `for' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:170:in `load_adapter' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:74:in `start' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/runner.rb:199:in `run_command' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/runner.rb:155:in `run!' from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/bin/thin:6:in `<top (required)>' from /usr/local/bin/thin:23:in `load' from /usr/local/bin/thin:23:in `<main>'
By starting redmine.
No Idea how to fix it.
- gem -v
2.0.14
- ruby -v
ruby 2.0.0p481 (2014-05-08) [x86_64-linux]
- rails -v
Rails 4.2.3
Could somebody help please