rake aborted! - LoadError: cannot load such file -- timelogcontroller_patch
Added by Andrea Grillini about 1 year ago
Hello!
I'm trying to upgrade from version 4.2.3 to version 5.1.0.
I'm getting the messages mentioned in the subject upon launching the command below.
bundle exec rake db:migrate RAILS_ENV=production
I noticed timelogcontroller_patch is related to the ERPmine plugin, in fact in plugins/redmine_wktime/init.rb
I see the following require.
require 'timelogcontroller_patch'
Besides I found the file plugins/redmine_wktime/lib/timelogcontroller_patch.rb.
The version of ERPmine is presumably 4.5, at least I deduce this from a mention in the file plugins/redmine_wktime/README.rdoc.
I know almost nothing about Ruby and Ruby on Rails. Maybe that's why I cannot tell why the mentioned file cannot be loaded.
Is there anybody here who could help me?
Thanks in advance!
Andrea
Replies (1)
RE: rake aborted! - LoadError: cannot load such file -- timelogcontroller_patch - Added by Mischa The Evil about 1 year ago
Andrea Grillini wrote:
I'm trying to upgrade from version 4.2.3 to version 5.1.0.
TL;DR: you can't yet do that (easily) at the moment. I'll elaborate...
I noticed timelogcontroller_patch is related to the ERPmine plugin, in fact in plugins/redmine_wktime/init.rb
I see the following require.
[...]
Besides I found the file plugins/redmine_wktime/lib/timelogcontroller_patch.rb.
The version of ERPmine is presumably 4.5, at least I deduce this from a mention in the file plugins/redmine_wktime/README.rdoc.
The Redmine instance you're updating has the ERPmine plugin installed. The authors of this plugin have, as of today, not-yet released a version that is compatible with Redmine 5.1.x AFAICT. They are working on it though.
They have tagged versions 4.6 and (current) 4.7, but those do not seem to affect the plugin's compatibility with the latest Redmine release. These versions are not (yet) listed on the plugin directory page for some reason.
The version of the ERPmine plugin you're using is either 4.5, 4.5.1 or 4.5.2. Given the policies of the plugin authors it is difficult to determine the exact version. Regardless, 4.5 and 4.5.1 are presented as compatible with Redmine 4.2.x, while 4.5.2 is presented as compatible with Redmine 5.0.x.
This means you're at the moment effectively stuck at Redmine 5.0.x until the plugin gets updated.