Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
- The
cursor-retrievalextension in Cursor IDE throws aspawn /usr/bin/git ENOENTerror when executing thegit clonecommand, preventing it from automatically cloning the rules repository. - After manually cloning the repository to
\root\.cursor\projects\root-Project-fastapi-casbin\rules, Cursor still fails to recognize the rules.
Steps to Reproduce
- Connect to WSL2 Ubuntu via Cursor.
- In Cursor Settings, add a rule via Remote Rule (GitHub) and enter GitHub - zxjlm/cursor-fastapi-rules.
- The error occurs.
Expected Behavior
Rule succeed to add in the project .
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.43 (user setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100
For AI issues: which model did you use?
Not use AI
For AI issues: add Request ID with privacy disabled
Not use AI
Additional Information
- WSL2 Version: 2.6.3.0
- Linux: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
- Core: 6.6.87.2-microsoft-standard-WSL2
- Git Version: 2.34.1
I can manually to clone the repository use git to the local folder. but after manually cloning the repository to \root\.cursor\projects\root-Project-fastapi-casbin\rules, Cursor fails to recognize the rules.
The Cursor settings -> Rules and commands -> Project Commands display nothing.
Does this stop you from using Cursor
No - Cursor works, but with this issue
