Project

General

Profile

Trying to get plugin redmine_wiki_notes to work on redmine v5.1.x

Added by Max Larsson 10 months ago

As the subject say I'm trying to get the redmine_wiki_notes plugin to work with Redmine v5.1.x

So far I changed in the init.rb file of the plugin the following:

ActionDispatch::Callbacks.to_prepare

to:

ActiveSupport::Reloader.to_prepare

I'm not sure that this is actually the correct way to to so under Redmine 5.1.x. Is it?

But my real problem is in the line of init.rb:

require 'redcloth3'

That triggers the following error, during executing bundle exec rake redmine:plugins:migrate RAILS_ENV=production:

redmine@136:~$ bundle exec rake redmine:plugins:migrate  RAILS_ENV=production 
rake aborted!
LoadError: cannot load such file -- redcloth3
/opt/redmine/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/opt/redmine/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
....

How to solve this?