Commit dff7ad3
Fix bundler error when running --status from demo directory
The issue was that swap-deps was requiring bundler/setup unconditionally,
which would fail when running from a demo directory with a Gemfile that
had GitHub gems not yet checked out.
Solution: Only require bundler/setup for commands that actually need gem
dependencies (swap, restore, apply). Read-only commands (status, cache,
list-watch, kill-watch, clean-cache) only use git/filesystem operations
and don't need bundler.
This fixes the error:
'The git source https://github.com/... is not yet checked out.
Please run `bundle install`...'
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 93cd90b commit dff7ad3
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
0 commit comments