Rails Test Command Hangs and Requires Interruption

Resolved 💬 3 comments Opened Mar 11, 2025 by jdhuntington Closed Mar 11, 2025

Bug Description
Tried to run tests. Did "!bin/rails test". It did something for 2 minutes, then said "Interrupted by user". When I run this command outside of claude it takes about half- of a second and returns a clear result.

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.36
  • Feedback ID: fe222a0f-756d-4aff-8cde-0fde4124f01b

Errors

[{"error":"Error: Command failed: /opt/homebrew/Cellar/ripgrep/14.1.1/bin/rg --files --glob *.md /Users/jedediah/.claude/commands\nrg: /Users/jedediah/.claude/commands: IO error for operation on /Users/jedediah/.claude/commands: No such file or directory (os error 2)\n\n    at __node_internal_genericNodeError (node:internal/errors:865:15)\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:517:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1098:16)\n    at Socket.<anonymous> (node:internal/child_process:450:11)\n    at Socket.emit (node:events:517:28)\n    at Socket.emit (node:domain:489:12)\n    at Pipe.<anonymous> (node:net:350:12)","timestamp":"2025-03-11T13:38:11.549Z"},{"error":"TypeError: path must not be empty\n    at Cw3 (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:299:7897)\n    at sA (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:299:8005)\n    at dJ2._test (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:299:8609)\n    at dJ2.ignores (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:299:9110)\n    at XJ2 (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:570:229)\n    at Hw3 (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:568:404)\n    at Object.call (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:568:109)\n    at call.next (<anonymous>)\n    at oA (file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:570:367)\n    at file:///Users/jedediah/.asdf/installs/nodejs/18.18.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:583:842","timestamp":"2025-03-11T13:38:11.684Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗