Describe the bug
Related to #8923, #8488
Since the VAPID keys generators were moved to the core gem, the rake tasks no longer work if the decidim-dev gem is not installed.
This happens because this task file requires the "webpush" gem:
But this dependency is only listed in the decidim-dev gem:
|
s.add_dependency "webpush", "~> 1.1" |
To Reproduce
Steps to reproduce the behavior:
bundle install --without development test
bundle exec rails db:migrate
- See error
Expected behavior
I would expect to be able to run the Decidim or Rails rake tasks when the decidim-dev gem is not installed.
Screenshots
N/A
Stacktrace
See the error.
Extra data (please complete the following information):
- Device: (any)
- Device OS: (any)
- Browser: (any)
- Decidim Version:
0.27.0.dev
- Decidim installation: staging environments
Additional context
Ping @quinHD
Describe the bug
Related to #8923, #8488
Since the VAPID keys generators were moved to the core gem, the rake tasks no longer work if the
decidim-devgem is not installed.This happens because this task file requires the "webpush" gem:
decidim/decidim-core/lib/tasks/decidim_pwa_tasks.rake
Line 3 in a27caa6
But this dependency is only listed in the
decidim-devgem:decidim/decidim-dev/decidim-dev.gemspec
Line 51 in a27caa6
To Reproduce
Steps to reproduce the behavior:
bundle install --without development testbundle exec rails db:migrateExpected behavior
I would expect to be able to run the Decidim or Rails rake tasks when the
decidim-devgem is not installed.Screenshots
N/A
Stacktrace
See the error.
Extra data (please complete the following information):
0.27.0.devAdditional context
Ping @quinHD