You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bin/dev pack generation failure when run from Bundler context
When bin/dev runs in a Bundler context, calling `bundle exec rake` can fail
or cause issues. This change detects when we're already inside a Bundler
context and runs the Rake task directly instead of shelling out.
Key improvements:
- Detects Bundler context and runs tasks directly
- Falls back to bundle exec when not in Bundler context
- Properly handles silent mode for both execution paths
- Loads Rails environment when needed
This fixes pack generation failures when using bin/dev.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments