All Ecosystems
ruby

Ruby

Clean Bundler gems, vendor directories, and Rails caches. Supports Rails, Sinatra, and Jekyll projects.

Avg. Space Saved

100MB - 1GB per project

Detection Files

2 files

Artifact Types

6 types

Cleanable Artifacts

Cluttered can safely clean these Ruby build artifacts:

vendor/bundle/vendor/cache/.bundle/tmp/cache/log/coverage/

Project Detection

Cluttered identifies Ruby projects by looking for these files:

GemfileGemfile.lock

Overview

Ruby projects, especially Rails applications, accumulate gem dependencies, caches, and logs over time. A mature Rails app can have hundreds of megabytes in vendor directories alone.

What Cluttered Cleans

ArtifactDescriptionTypical Size
vendor/bundle/Bundled gem dependencies100MB - 800MB
tmp/cache/Rails cache files10MB - 500MB
log/Development and test logs10MB - 1GB
coverage/Test coverage reports5MB - 50MB
.bundle/Bundler configuration cache5MB - 20MB

Why Ruby Projects Get Large

Ruby projects accumulate space from:

  • Native extensions: Compiled C extensions in gems
  • Asset pipeline: Compiled and cached assets
  • Development logs: Can grow unbounded
  • Test artifacts: Coverage reports, screenshots

Safety Considerations

Cluttered protects your Ruby projects by:

  • Detecting running Rails servers
  • Checking for active Sidekiq processes
  • Identifying recent Gemfile.lock changes
  • Preserving production-configured directories

Rails-Specific Cleanup

ArtifactRails CommandCluttered
Logsrails log:clearVisual selection
Tmp filesrails tmp:clearOne-click
Assetsrails assets:clobberIncluded

Frequently Asked Questions

Will cleaning vendor/bundle break my app?

No. Run bundle install to restore gems. Your Gemfile.lock ensures exact versions.

What about the global gem directory?

Cluttered focuses on project-local vendor directories. Global gem cleanup is available in Pro.

Does it clean .rbenv or .rvm?

These are treated as system directories and require explicit opt-in.

  • Node.js - Similar bundler patterns
  • Python - Virtual environment concept is similar
  • PHP - Composer follows similar patterns

Ready to clean your Ruby projects?

Download Cluttered and reclaim your disk space in minutes.