Closed alecslupu closed 2 years ago
Confirmed locally.
Relevant snippet:
if Decidim.module_installed? :budgets
Decidim::Budgets.configure do |config|
unless Rails.application.secrets.dig(:decidim, :budgets, :enable_proposal_linking) == "auto"
config.enable_proposal_linking = Rails.application.secrets.dig(:decidim, :budgets, :enable_proposal_linking).present?
end
end
end
The line that gives the error is Decidim::Budgets.configure do |config|
, so the culprit is probably the Decidim.module_installed?
method.
Potential fix seems to be cooking at #9502.
It's not fixing this issue particularly but as a side-effect I believe it will fix this one too. Have to be confirmed still, though.
Describe the bug I am trying to install a decidim custom version of the application, without having all the decidim modules ( i am not interested in having Budgets, Accountability etc)
I have added to my gemfile
When attempting to boot the application, using the above Gemfile configuration, i get an error like:
uninitialized constant Decidim::Budgets (NameError)
To Reproduce Steps to reproduce the behavior:
rails console
Expected behavior The application should boot normally.
Stacktrace
Extra data (please complete the following information):
Additional context N/A