Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Error 'uninitialized constant ActionController::Routing' #29

Open
TrumanRu opened this issue Dec 27, 2018 · 1 comment
Open

Error 'uninitialized constant ActionController::Routing' #29

TrumanRu opened this issue Dec 27, 2018 · 1 comment
Assignees

Comments

@TrumanRu
Copy link

Error on install during 'rake migrate':

An error occurred while loading the routes definition of redmine_my_roadmaps plugin (/opt/redmine/apps/redmine/htdocs/plugins/redmine_my_roadmaps/config/routes.rb): uninitialized constant ActionController::Routing.

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.3.7-p456 (2018-03-28) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.10.2
  Git                            2.19.1
  Filesystem                     
Redmine plugins:
  a_common_libs                  2.5.0
  custom_menu                    1.8.5
  easy_mindmup                   1.0
  easy_wbs                       1.5
  extra_queries                  2.3.5
  global_roles                   2.2.3
  redmine_attribute_quickies     1.0.2
  redmine_base_deface            0.0.1
  redmine_better_overview        1.0.0
  redmine_checklists             3.1.11
  redmine_default_custom_query   1.3.0
  redmine_edit_custom_fields     0.0.5
  redmine_editor_preview_tab     0.1.5
  redmine_gitlab_hook            0.2.2
  redmine_inline_auto_complete   0.1.0
  redmine_issue_tabs             1.3.1
  redmine_merge_request_links    2.1.1
  redmine_more_code              1.0.0
  redmine_more_context           1.0.0
  redmine_my_page                0.1.13
  redmine_workflow_enhancements  0.5.0
  scrum                          0.18.0
  subtask_columns                0.0.4
  that_email_log                 0.0.1
  unread_issues                  2.2.2
  usability                      2.3.8
  view_customize                 1.2.2
@clueware clueware self-assigned this Dec 27, 2018
@clueware
Copy link
Owner

Hello @TrumanRu, I unfortunately couldn't replicate the issue - at least not with the sole my_roadmaps plugin installed.

Here's my test process, feel free to tell me if my use case is not the right one:

  • from a Docker 3.1 Redmine install, with the 0.2.1_redmine3.0 plugin version
    • change the plugin to the 3.4 plugin release
    • switch the Redmine version to 3.4.6
    • relaunch the container - which starts with a "rake db:migrate" and "rake redmine:plugins:migrate"

The info panel for my test container:

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.4.5-p335 (2018-10-18) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.9.5
  Mercurial                      4.0
  Bazaar                         2.8.0
  Git                            2.11.0
  Filesystem                     
Redmine plugins:
  redmine_my_roadmaps            0.2.1_redmine3.0

I've noticed that I forgot to update the version in the Redmine_3.4 branch, thus the misleading 3.0 in its release. I've just fixed this, it does not change the plugin behavior though.

@clueware clueware assigned TrumanRu and unassigned clueware Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants