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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: is this
/opt/bundler/helpers
mount actually used? It seems eerily close to the$CODE_DIR/bundler/helpers
mount we're adding.I have no idea, just wondering if this was how this was supposed to work, and could be cruft after this fix to how it actually works. I would not be surprised if both are needed for difference cases (e.g.
rspec
vsbin/dry-run.rb
).This entire comment is idle curiosity and safe to ignore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both are needed for now as
rspec
loads stuff from the code dir, but might only be needed for native helper specs. We copy native helpers to/opt/bundler
and run them from there when running dry-runs/tests.We might be able to simplify this with the bundler 2 work, planning to move the native helpers specs into the helper folder and run
rspec
from there.