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 happened
Update Rails to the latest stable version v6.1.3.1 to avoid the issue of failing to start because of yanked dependency.
Insight
Rails depends on the MimeMagic gem (ActionMailbox -> ActiveStorage -> Marcel -> Mimemagic). But that gem recently yanked all v0.3.x versions, making the new Rails apps fail to start and the old ones fail to rebuild. Mimemagic also released new versions but changed the Licence from MIT -> GPL2 which isn't compatible with Rails' license anymore.
Rails release a new version v6.1.3.1 to solve that issue by removing Mimemagic dependency.
Dependency on mimemagic 0.3.x no longer valid rails/rails#41750
https://github.com/rails/rails/releases/tag/v6.1.3.1
https://github.com/rails/marcel/releases/tag/v1.0.0
Proof Of Work
Nimble CX after upgrading to this version no longer experience the failed build due to
mimemagic
gem.