Commit f3c73c8
Fix test: set BUNDLE_GEMFILE to bundled_app path so Bundler.root resolves correctly
The test was failing because BUNDLE_GEMFILE was set to a relative "Gemfile"
path (inherited from the parent describe block), causing Bundler.root to
resolve to the process's current working directory instead of bundled_app.
This meant bin_path.directory? could not find the test's bin/ directory.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6fa7975 commit f3c73c8
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- spec/bundler
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
0 commit comments