Skip to content

fix(cli): detect docker on Windows PATH (CLEAN-41) - #36

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-41-windows-docker-detect
Aug 19, 2026
Merged

fix(cli): detect docker on Windows PATH (CLEAN-41)#36
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/CLEAN-41-windows-docker-detect

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

Summary

  • ranch dev treated Docker as missing on Windows because the CLI looked for binaries with command -v, which Node runs through cmd.exe.
  • Shared hasBinary now walks PATH (plus PATHEXT on Windows) and is used for docker, k3d, and kubectl.
  • Bump @cleanslice/ranch to 0.1.11 so the fix publishes after merge.

Test plan

  • cd cli && bun test src/utils/bin.test.ts
  • ensureDockerRunning() succeeds on Windows with Docker Desktop open
  • ranch dev gets past the Docker check on Windows (use local CLI or 0.1.11 after publish)

Fixes CLEAN-41

Co-authored-by: Cursor <cursoragent@cursor.com>
@maksymhryzodub-prog
maksymhryzodub-prog merged commit 6ac9e03 into main Aug 19, 2026
1 check passed
@maksymhryzodub-prog
maksymhryzodub-prog deleted the fix/CLEAN-41-windows-docker-detect branch August 19, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant