Repository navigation
Support bundler 4 & fix tests - #138
Merged
Merged
Conversation
Bundler 4 added this BUNDLE_LOCKFILE env
Fixes some specs that were expecting that generator to exist, just a test setup thing.
This just makes sure the engine was generated for every test, these failed on me sometimes with some seeds otherwise.
Rails 8.1's generator adds puma, so this gets rid of the duplicate so it doesn't error.
jcoyne
reviewed
Nov 17, 2026
| end | ||
| end | ||
|
|
||
| it "should run the rails app generator's bundled installers when the engine_cart:generate task is invoked" do |
Collaborator
Author
There was a problem hiding this comment.
Just following the syntax that's already in the spec, Yoda, but happy to change it if you'd like 😀
jcoyne
approved these changes
Nov 17, 2026
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.

Bundler 4 added this BUNDLE_LOCKFILE env that we have to get rid of now, like we used to get rid of BUNDLE_GEMFILE. There's some references in the release notes: https://blog.rubygems.org/2025/12/03/4.0.0-released.html. The new test just makes sure that the rails generator succeeded, by testing for the
importmapfile.I also spent some work getting tests to pass, hopefully it works.