Remove unused gems from the vendor directory. i.e. Remove the gems and subdependencies not covered by Gemfile.

$ bundle clean

Dry run:

$ bundle clean --dry-run