-
Notifications
You must be signed in to change notification settings - Fork 806
Open
Description
Problem
On Windows (with Git Bash), the ${CLAUDE_PLUGIN_ROOT} environment variable is not resolved, causing the ralph-loop plugin to fail:
/usr/bin/bash: line 31: /scripts/setup-ralph-loop.sh: No such file or directory
Environment
- OS: Windows 10/11
- Shell: Git Bash (via Claude Code)
- Plugin: ralph-loop
Root Cause
The ${CLAUDE_PLUGIN_ROOT} variable is not set/exported by Claude Code on Windows.
Proposed Solution
Replace external script call with inline bash script that doesn't depend on ${CLAUDE_PLUGIN_ROOT}.
Benefits:
- Cross-platform (Windows, macOS, Linux)
- No external dependencies
- Self-contained
- Also fixes ralph-loop fails with 'unbound variable' error - $ARGUMENTS not substituted in ```! block #167 ($ARGUMENTS works in inline scripts)
Related Issues
- [ralph-wiggum] Add Windows support - bash scripts fail on Windows/Git Bash #112 - Add Windows support
- ralph-loop fails with 'unbound variable' error - $ARGUMENTS not substituted in ```! block #167 - Variable substitution in code blocks
- ralph-wiggum 2 problems on Ubuntu on WSL #135 - Problems on WSL
Willing to Submit PR
I can submit a PR with the complete inline script fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels