rails bundle clean
If you are using Bundler 1.1 or later you can use bundle clean, just as you imagined you could. This is redundant if you’re using bundle install –path (Bundler manages the location you specified with –path, so takes responsibility for removing outdated gems), but if you’ve used Bundler to install the gems as system gems … Read more