Docs header transparent bg

bundle clean

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

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


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


Print the changes, but do not clean the unused gems.
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.
This document is obsolete. See the latest version of this document if you caught an error or noticed something was missing, it may be fixed there.