---
name: "bundle-clean2.7"
section: "1"
platform: "linux"
package: "ruby2.7"
version: "2.7.4-1+deb11u1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/bundle-clean2.7"
---

# bundle-clean2.7(1)

Cleans up unused gems in your bundler directory

## NAME

**bundle-clean** - Cleans up unused gems in your bundler directory

## SYNOPSIS

**bundle clean** \[--dry-run\] \[--force\]

## DESCRIPTION

This command will remove all unused gems in your bundler directory. This is useful when you have made many changes to your gem dependencies.

## OPTIONS

- **--dry-run**

  Print the changes, but do not clean the unused gems.

- **--force**

  Force a clean even if **--path** is not set.
