Loriowar / redmine_issues_tree

Provides a tree view of the Redmine issues list
GNU General Public License v3.0
115 stars 72 forks source link

Can't install in redmine 4.1.x (4.1.0) #107

Closed pcpostar closed 4 years ago

pcpostar commented 4 years ago

I tried installing:

  1. clone from git
  2. run command
    bundle exec rake redmine:plugins:migrate RAILS_ENV=production
    rake aborted!
    NoMethodError: undefined method `alias_method_chain' for IssuesController:Class
    Did you mean?  alias_method
[root@redmine redmine]# rails --version
Rails 5.2.4.1
[root@redmine redmine]# ruby --version
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
[root@redmine redmine]# rake --version
rake, version 13.0.1

Am I doing anything wrong here?

Loriowar commented 4 years ago

Look like you use master branch of the plugin instead of branch with the name corresponding to your Redmine version. Try to use branch 4.1.x.

pcpostar commented 4 years ago

Thank you. Solved.

Had to chose the right branch, correct. Thank you! In folder plugins issue command: git clone --single-branch --branch "4.1.x" https://github.com/Loriowar/redmine_issues_tree.git

Thank you!