History

Hi, I'm triyng to port my plugins, from Redmine 3.4 to Redmine trunk (ver4.0, based on Rails5).I managed to port my plugin to support Rails5, and it seems works fine under development / test environment.

But under production mode, I saw the same error. When I try to access one of plugin's controller, error happened and the message such as "uninitialized constant xxxxxxxController” was recorded.

I personally think, it seems required files under plugin's directory are not loaded in production mode.And also think this is because autoload definition is disabled for production mode in Rails 5 by default.