When launching in production mode, this error occurs :
% bundle exec rails c -e production
WickedPdf.config= is deprecated and will be removed in future versions. Use WickedPdf.configure instead.
WickedPdf.config= is deprecated and will be removed in future versions. Use WickedPdf.configure instead.
WickedPdf.config= is deprecated and will be removed in future versions. Use WickedPdf.configure instead.
WickedPdf.config= is deprecated and will be removed in future versions. Use WickedPdf.configure instead.
Traceback (most recent call last):
63: from bin/rails:6:in `<main>'
62: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
61: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
60: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/commands.rb:18:in `<main>'
59: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/command.rb:46:in `invoke'
58: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/command/base.rb:69:in `perform'
57: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'
56: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'
55: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'
54: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/commands/console/console_command.rb:101:in `perform'
53: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
52: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/command/actions.rb:28:in `require_environment!'
51: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/application.rb:339:in `require_environment!'
50: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies.rb:324:in `require'
49: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies.rb:291:in `load_dependency'
48: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/dependencies.rb:324:in `block in require'
47: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
46: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
45: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
44: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
43: from /Users/decidim/dev/pro/aws/decidim-nyc/config/environment.rb:7:in `<main>'
42: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/application.rb:363:in `initialize!'
41: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/initializable.rb:60:in `run_initializers'
40: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
39: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
38: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
37: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:347:in `call'
36: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:347:in `each'
35: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
34: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
33: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
32: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
31: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/initializable.rb:61:in `block in run_initializers'
30: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/initializable.rb:32:in `run'
29: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/initializable.rb:32:in `instance_exec'
28: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.0.6.1/lib/rails/application/finisher.rb:122:in `block in <module:Finisher>'
27: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:377:in `eager_load_all'
26: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:377:in `each'
25: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader.rb:379:in `block in eager_load_all'
24: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:10:in `eager_load'
23: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:10:in `synchronize'
22: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:16:in `block in eager_load'
21: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:16:in `each'
20: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:17:in `block (2 levels) in eager_load'
19: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:170:in `actual_eager_load_dir'
18: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:25:in `ls'
17: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:25:in `each'
16: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:40:in `block in ls'
15: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/eager_load.rb:175:in `block in actual_eager_load_dir'
14: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:135:in `cget'
13: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/loader/helpers.rb:135:in `const_get'
12: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:26:in `require'
11: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
10: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
9: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
8: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:3:in `<main>'
7: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:4:in `<module:Decidim>'
6: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:5:in `<module:Surveys>'
5: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:7:in `<module:Admin>'
4: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:8:in `<class:SurveysController>'
3: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-surveys-0.26.9/app/controllers/decidim/surveys/admin/surveys_controller.rb:8:in `include'
2: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/concern.rb:122:in `append_features'
1: from /Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/concern.rb:122:in `class_eval'
/Users/decidim/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/decidim-forms-0.26.9/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb:24:in `block in <module:HasQuestionnaire>': uninitialized constant Decidim::Templates::Admin::Concerns (NameError)
Did you mean? Decidim::Conferences
Backport of :
https://github.com/decidim/decidim/commit/420623d647d2020665cfbaa118514f5e92672c68
Issue :
When launching in
production
mode, this error occurs :