Bundler: Cleanup old unused gems

Written by Yuva on March 27, 2013; tagged under bundler, rails, ruby

Recently I resumed an old project {after 2 months}. My peers are still working on it and they have upgraded lots of gems. After running bundle install, many gems got upgraded and old version were still hanging around in vendor folder. This little handy command helped in removing them:

bundle clean -V

NOTE: Btw, I always install gems in ./vendor/ruby folder, and don’t maintain any rvm gemsets for projects.

If you have any questions or feedback, feel free to drop us a mail at team@codemancers.com.