Lock the webpacker gem to the beta release#8191
Merged
leio10 merged 2 commits intodecidim:developfrom Jul 15, 2021
Merged
Conversation
Because the "pre" release is older than "beta" but is higher in alphabetical order, it would be otherwise installed which can break webpacker functionality. See: rails/webpacker#3055
webpacker gem to the beta release
Contributor
Author
|
A further note to add here is that the production/staging apps work fine even with webpacker The problem is with the development environment running alongside with the |
Contributor
|
Just to give a bit more of context rails/webpacker#2955 (comment) |
entantoencuanto
pushed a commit
that referenced
this pull request
Jul 19, 2021
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
After #8181 bundler will install the
6.0.0.pre.xversion of the Webpacker gem unless you specifically lock the webpacker version in the application'sGemfile. This will break some Webpacker functionality because thepre-versions are older than thebetaversions (see the release history)Why this happens is that alphabetically
6.0.0.pre.2>6.0.0.beta.7.The real issue is that the Webpacker gem hasn't released version
6.0.0yet and also it has not released an RC version which would be higher in alphabetical order than6.0.0.pre.2.This solves the issue by locking the
webpackerdependency to thebetarelease until there is either an actual release or an RC release available.📌 Related Issues
webpackergem a core dependency #8181, Process towards release (or "what's blocking Webpacker 6")? rails/webpacker#3055, Javascript not executing? rails/webpacker#2955Testing
Upgrade some existing Decidim installation to
0.25.0.devfollowing the upgrade guide.📋 Checklist
docs/.