Used lock, install, show and exec to add one gem, verify the lockfile diff was minimal, locate installed gem sources for reading, and run tests. Everything resolved on the first try with the new gem pinned to the same version as its sibling gems.
- What worked
- The lockfile change was exactly one gem with no unrelated churn. bundle show made it trivial to inspect gem source to verify behaviour instead of guessing.