Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[Ruby Kaigi 2026] Faster Bundler, Happier Devel...

[Ruby Kaigi 2026] Faster Bundler, Happier Developers

Bundler has reliably helped the Ruby community install and manage dependencies for close to two decades, but with the announcement of Python's uv we found ourselves asking "Could Bundler be faster?". We took this opportunity to investigate and fix a multitude of performance issues now released in Bundler 4.

In this talk, we’ll dive into why Bundler is slow, what we are doing about it, and how the Ruby community can help. Our goals are to evolve Rubygems and Bundler in order to offer Ruby developers an exceptionally fast experience when running bundle install.

Avatar for Edouard Chin

Edouard Chin

June 02, 2026

More Decks by Edouard Chin

Other Decks in Programming

Transcript

  1. ˒ Relevant ˒ Up to date ˒ Secure ˒ Fast

    Bundler is important for the Ruby ecosystem
  2. ˒ What makes Bundler slow ˒ Optimizations we implemented ˒

    You can help ! Bundler and RubyGems performance
  3. Gem A Gem B Gem C Bundler waits for dependencies

    to be installed A will be dowloaded/installed when B is installed B will be dowloaded/installed when C is installed
  4. Gem A Gem B Gem C Bundler waits for dependencies

    to be installed A will be dowloaded/installed when B is installed B will be dowloaded/installed when C is installed
  5. 1. Gem C 2. Gem B 3. Gem A Gems

    are download and installed serially
  6. ˒ Faster resolution ˒ Faster gem download ˒ Faster installation

    ˒ Bundler / RubyGems share a global cache Bundler/RubyGems optimizations in 4.0.10
  7. cibuildgem work fl ow in 4 steps Compilation Run the

    test suite against the precompiled binaries
  8. cibuildgem work fl ow in 4 steps Run the test

    suite against the precompiled binaries Verify gems are installable Compilation
  9. cibuildgem work fl ow in 4 steps Run the test

    suite against the precompiled binaries Verify gems are installable Release on RubyGems.org Compilation