Repository navigation
Upgrade to Rails 8.1 and dual boot with Rails main - #385
Merged
Merged
Conversation
- Default Gemfile now uses Rails ~> 8.1.0 (8.1.4.1) - Gemfile.next now tracks rails/rails main (8.2.0.alpha) - Use rspec-rails main under Gemfile.next, since rspec-rails 6.x fails to load against Rails main (FrozenError in feature_example_group) - Make mutex_m unconditional, it was only required on the 8.1 branch Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
rspec-rails 6.1.x raised a FrozenError at load time against Rails main. The stable 8.1.0 release loads on both, so there is no need to track rspec-rails from GitHub. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Conservative update, no other gems changed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The dual-boot lockfile still had sprockets 3.7.5, which does not support the link_directory entries in app/assets/config/manifest.js. Every view rendering the layout raised AssetNotPrecompiledError on CI. The default lockfile already uses sprockets 4.2.2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rails main no longer ships rails-ujs in actionview, but application.js still requires it. Sprockets could not resolve it, which surfaced on CI as AssetNotPrecompiledError for application.css in every view that renders the layout. This is a copy of actionview 8.1.4.1's rails-ujs.js, so behavior on Rails 8.1 is unchanged. Remove it once the app moves off rails-ujs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Jira Ticket
N/A
Motivation / Context
QA / Testing Instructions
Smoke test public page and admin page
Screenshots:
N/A
✅ I will abide by the code of conduct.