Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In rails 5.2.2, redmine4.0.1 , it's report errors: NoMethodError: undefined method `alias_method_chain' for ApplicationHelper:Module #9

Open
shiqiangguo opened this issue Feb 20, 2019 · 2 comments

Comments

@shiqiangguo
Copy link

My environment's info :
$ ruby -v
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]
$ rails -v
Rails 5.2.2
$ bundle version
Bundler version 2.0.1 (2019-01-04 commit d7ad2192f)
$ gem -v
3.0.1
$ mysql
Server version: 5.7.25 MySQL Community Server (GPL)
mysql >

$ bundle exec rake convert_textile_to_markdown RAILS_ENV=production
(in /usr/local/redmine-4.0.1)
rake aborted!
NoMethodError: undefined method alias_method_chain' for ApplicationHelper:Module Did you mean? alias_method /usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/lib/bestest_markdown_editor/patches/application_helper_patch.rb:10:in block in included'
/usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/lib/bestest_markdown_editor/patches/application_helper_patch.rb:8:in class_eval' /usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/lib/bestest_markdown_editor/patches/application_helper_patch.rb:8:in included'
/usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/lib/bestest_markdown_editor/patches/application_helper_patch.rb:34:in include' /usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/lib/bestest_markdown_editor/patches/application_helper_patch.rb:34:in <top (required)>'
/usr/local/redmine-4.0.1/plugins/bestest_markdown_editor/init.rb:1:in <top (required)>' /usr/local/redmine-4.0.1/lib/redmine/plugin.rb:173:in block in load'
/usr/local/redmine-4.0.1/lib/redmine/plugin.rb:164:in each' /usr/local/redmine-4.0.1/lib/redmine/plugin.rb:164:in load'
/usr/local/redmine-4.0.1/config/initializers/30-redmine.rb:21:in <top (required)>' /usr/local/redmine-4.0.1/config/environment.rb:14:in <top (required)>'
/usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in

'
Tasks: TOP => convert_textile_to_markdown => environment
(See full trace by running task with --trace)

@cowrycoin
Copy link

Hi shiqiangguo,

looks like this app is not compatible with redmine 4.0 yet.

Did you solved this topic. Maybe you can help me or you made a patch?

@jankokert
Copy link

I tried it with Redmine 4.2 and I get the same error. Please can someone fix that bug? The plugin is exactly what I need!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants