# \#ruby

**URL:** https://forum.cursor.com/tag/ruby/338.md

[Latest](https://forum.cursor.com/latest.md) · [Categories](https://forum.cursor.com/categories.md) · [Tags](https://forum.cursor.com/tags.md)

---

## [Agent shell injects BUNDLE\_PATH even with required\_permissions \["all"\] - breaks Ruby/Bundler](https://forum.cursor.com/t/agent-shell-injects-bundle-path-even-with-required-permissions-all-breaks-ruby-bundler/168635)

<div class="topic-metadata">

**Author:** [@Paul\_Portier](https://forum.cursor.com/u/Paul_Portier)\
**Replies:** 3\
**Last updated:** [November 17, 2026, 5:35pm UTC](https://forum.cursor.com/t/agent-shell-injects-bundle-path-even-with-required-permissions-all-breaks-ruby-bundler/168635 "2026-11-17T17:35:59Z")

</div>

Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Cursor agent shell injects BUNDLE\_PATH and GEM\_SPEC\_CACHE pointing to cursor-sandbox-cache/ even when the agent uses required\_permissions: \[“all”\]…

---

## [Read tool hangs indefinitely on Ruby files with a specific block variable name collision](https://forum.cursor.com/t/read-tool-hangs-indefinitely-on-ruby-files-with-a-specific-block-variable-name-collision/160565)

<div class="topic-metadata">

**Author:** [@drhenner](https://forum.cursor.com/u/drhenner)\
**Replies:** 1\
**Last updated:** [May 13, 2026, 8:44pm UTC](https://forum.cursor.com/t/read-tool-hangs-indefinitely-on-ruby-files-with-a-specific-block-variable-name-collision/160565 "2026-05-13T20:44:27Z")

</div>

Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Title: Read tool hangs indefinitely on Ruby files with a specific block variable name collision Steps to Reproduce Summary The Cursor Read tool …

---

## [Cursor agent is unable to run terminal commands that connect to Docker containers](https://forum.cursor.com/t/cursor-agent-is-unable-to-run-terminal-commands-that-connect-to-docker-containers/155407)

<div class="topic-metadata">

**Author:** [@troehrkasse](https://forum.cursor.com/u/troehrkasse)\
**Replies:** 1\
**Last updated:** [March 20, 2026, 4:56pm UTC](https://forum.cursor.com/t/cursor-agent-is-unable-to-run-terminal-commands-that-connect-to-docker-containers/155407 "2026-03-20T16:56:34Z")

</div>

Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Whenever Cursor agent tries to run rails tests, it fails. It will always report back and say “no local MySQL”. This appears to be some limitation …

---

## [RuboCop pre-commit fails: user cache stores sandbox path, breaks Terminal.app and commits](https://forum.cursor.com/t/rubocop-pre-commit-fails-user-cache-stores-sandbox-path-breaks-terminal-app-and-commits/154208)

<div class="topic-metadata">

**Author:** [@caranicole](https://forum.cursor.com/u/caranicole)\
**Replies:** 1\
**Last updated:** [March 10, 2026, 8:36am UTC](https://forum.cursor.com/t/rubocop-pre-commit-fails-user-cache-stores-sandbox-path-breaks-terminal-app-and-commits/154208 "2026-03-10T08:36:22Z")

</div>

Describe the Bug Summary After RuboCop is run in Cursor’s environment (e.g. pre-commit or from Cursor’s terminal), RuboCop’s user-level cache (~/.cache/rubocop\_cache) stores the path to the inherited gem as a path under…
