bundle-clean(1)

bundle-clean1

Cleans up unused gems in your bundler directory

Usage

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

Overview

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

Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From ruby-bundler 4.0.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.