Need help with bundler-leak?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

212 Stars 7 Forks GNU General Public License v3.0 63 Commits 3 Opened issues


Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:

Services available


Need anything else?

Contributors list



The best tool to find leaky gems in your dependencies. Make sure memory leaks are not in your gem dependencies.


  • Checks for memory leaks of gems in
  • Prints memory leak information


Audit a project's

    $ bundle leak

Name: celluloid
Version: 0.17.0
Title: Memory Leak using Celluloid::Future
Solution: remove or disable this gem until a patch is available!

Name: therubyracer
Version: 0.12.1
Title: Memory leak in WeakValueMap
Solution: upgrade to ~> 0.12.3

Unpatched versions found!

Update the ruby-mem-advisory-db that

bundle leak
    $ bundle leak update

cd data/ruby-mem-advisory-db
git pull origin main
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 5), reused 7 (delta 4), pack-reused 0
Unpacking objects: 100% (9/9), done.
 * branch            main     -> FETCH_HEAD
   3254525..c4fc78e  main     -> origin/main
Updating 3254525..c4fc78e
Fast-forward                 | 68 ++++++++++++++++++++------------------------------------------------
 gems/therubyracer/336.yml |  4 ++++
 2 files changed, 24 insertions(+), 48 deletions(-)

Update the ruby-mem-advisory-db and check

(useful for CI runs):
$ bundle leak check --update

Rake task:

require 'bundler/plumber/task'

task default: 'bundle:leak'



$ gem install bundler-leak


  1. Clone the repo
  2. ./bin/setup
    # To populate data dir.
  3. bundle exec rake


Copyright (c) 2019 OmbuLabs (hello at

Copyright (c) 2013-2016 Hal Brodigan (postmodern.mod3 at

bundler-leak is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

bundler-leak is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with bundler-leak. If not, see

Code of Conduct

Everyone interacting in the bundler-leak project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.


is maintained and funded by, inc. The names and logos for are trademarks of, inc.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.