RubyMine Docker Remote Interpreter and Local Project Index Cache Invalidation
0 reputation · 29 Mar 2024, 22:09 UTC
RubyMine supports adding a Ruby SDK inside a Docker container as a remote interpreter and indexes container gems and sources for completion, navigation, and inspections. The unresolved behavior is whether changes to the container image, Gemfile, or Gemfile.lock automatically invalidate that index, or whether the IDE continues serving stale completion and navigation results until a manual refresh is triggered.
Correct operation depends on explicit path mappings between local project directories and container mount points. It is unclear whether a path-mapping mismatch suppresses cache invalidation silently, and whether behavior differs across RubyMine versions because Docker integration UI and remote interpreter handling have changed between releases.
Does RubyMine automatically detect container image or Gemfile changes and invalidate the remote SDK gem index? If not, what explicit action forces reindexing of container gems and local project files? Can an incorrect local-to-container path mapping block cache refresh without surfacing a warning?