OptiClear

Developer IDEs

Clear RubyMine Cache on Mac

To clear the RubyMine cache, open File > Invalidate Caches inside the app and then restart it. This clears only the current version's caches, and your projects and settings stay where they are.

Last updated: 2 min read

Clear the RubyMine cache without guessing

RubyMine data usually takes 1 GB – 20 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.

Scan your Mac free

Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+

Application
RubyMine
Typical data size
1 GB – 20 GB
Category
Developer IDEs
File Location
~/Library/Caches/JetBrains

Clear it from inside RubyMine first

The safest way is the option built into the app: File > Invalidate Caches, then restart; this clears only the current version's caches, not folders left by older releases or by other JetBrains IDEs.

RubyMine cache folders you can clear

These folders are rebuilt automatically, so removing them does not touch your own files.

Locations are the standard macOS folders RubyMine uses; some appear only after you use the matching feature.

What the RubyMine cache holds and when clearing it helps

Specific to RubyMine

The cache in ~/Library/Caches/JetBrains holds indexes and caches for JetBrains IDEs, one subfolder per product and version, and the app rebuilds them automatically. Clearing it helps when indexing runs again and again, code completion gives wrong results, or old version folders pile up. Each RubyMine release gets its own folder, so upgrades leave older data behind. Typical data for this app takes 1 GB – 20 GB.

What happens after you clear the RubyMine cache

After the restart, the app rebuilds its indexes, so the first start is slower and indexing runs for a while. Settings, plugins and your projects are not touched, and the .idea folder inside each project stays. Your JetBrains Account and any settings synced with Backup and Sync are not part of the cache. Older version folders stay in place until you remove them separately.

0 of 4 done

Account and sync
Paid JetBrains IDEs are activated with a JetBrains Account; settings can also be synced to that account with Backup and Sync.

Try it without risk

  1. Download and scan for freeSee every RubyMine file and its size. No account needed.
  2. Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
  3. Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
Download free and scan

After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.

Frequently asked questions

Yes. Folders marked “Yes, rebuilt automatically” are rebuilt automatically; removing them only makes the next start slower.
Can I clear the cache without losing my open projects?
Yes. Projects stay in their own folders, and only the cache is cleared, so your code is not affected.
Why is the app slow right after I cleared the cache?
It has to rebuild its indexes on the next start. The slowdown should ease once indexing finishes.

Related cleanup guides