redmine_preview_office
redmine_preview_office copied to clipboard
error on bitnami redmine 4.1.0
when i copy redmine preview office and restart redmine, error content production.log: Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted.
and when i use command:
bundle exec rake redmine:plugins NAME=redmineup_cms RAILS_ENV=production
^[[Arake aborted!
NoMethodError: undefined method alias_method_chain' for AttachmentsController:Class Did you mean? alias_method /opt/redmine-4.1.0-0/apps/redmine/htdocs/plugins/redmine_preview_office/lib/redmine_preview_office/patches/attachments_controller_patch.rb:32:in
block in included'
/opt/redmine-4.1.0-0/apps/redmine/htdocs/plugins/redmine_preview_office/lib/redmine_preview_office/patches/attachments_controller_patch.rb:29:in class_eval' /opt/redmine-4.1.0-0/apps/redmine/htdocs/plugins/redmine_preview_office/lib/redmine_preview_office/patches/attachments_controller_patch.rb:29:in
included'
/opt/redmine-4.1.0-0/apps/redmine/htdocs/plugins/redmine_preview_office/lib/redmine_preview_office/patches/attachments_controller_patch.rb:88:in include' /opt/redmine-4.1.0-0/apps/redmine/htdocs/plugins/redmine_preview_office/lib/redmine_preview_office/patches/attachments_controller_patch.rb:88:in
<top (required)>'
Please help me! Thanks.