What it is
Gems installed with gem install --user-install.
Can you delete it?
Sometimes, check what is inside first. Removing them uninstalls those gems; projects with a Gemfile can reinstall with bundle install.
How to clean it safely
- Run:
gem cleanup
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".gem" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- vendor/bundle (Ruby) ·
<project>/vendor/bundle - rbenv Ruby versions ·
~/.rbenv/versions - Deno cache ·
~/Library/Caches/deno - Sublime Text cache ·
~/Library/Caches/com.sublimetext.4 - .nuxt / .output (Nuxt) ·
<project>/.nuxt - JetBrains Toolbox installs ·
~/Library/Application Support/JetBrains/Toolbox/apps
Questions
Is it safe to delete ~/.gem?
Sometimes, check what is inside first. Removing them uninstalls those gems; projects with a Gemfile can reinstall with bundle install.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac