[BUG] Vendored ripgrep won't launch if Claude Code is installed into a directory with a space in the path
Resolved 💬 9 comments Opened Apr 9, 2025 by millimoose Closed May 14, 2025
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.66
- Operating System: macOS Sequoia 15.1.1
- Terminal: iTerm2, Terminal App
Bug Description
The Search step always returns no results even for trivial patterns. This makes Claude use a lot more resources to read files looking for things.
Steps to Reproduce
- Create a new "project" directory, named
foo. cd foo- Create a new file called
womble.pywith the contents:
def cabbage():
return "cabbage"
- Run
claude --verbose --debug --mcp-debug - Tell Claude to "search for the "cabbage" function using only the search feature"
Expected Behavior
I expected the "Search" tool to be invoked and for it to find the function with that alone.
Actual Behavior
The Search tool finds nothing. Telling Claude to read the file and look for the function shows it can do that though.
Additional Context
<img width="1169" alt="Image" src="https://github.com/user-attachments/assets/bb9a0a41-86a1-4990-85bd-91483c58c2ef" />
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗