# Accelerating Ruby: How Our Bundle Install Times Got 12x Faster

DevFeed: [Accelerating Ruby: How Our Bundle Install Times Got 12x Faster](<https://devfeed.tech/articles/accelerating-ruby-how-our-bundle-install-times-got-12x-faster-15482.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/accelerating-ruby-how-our-bundle-install-times-got-12x-faster>)

Author: Roger Hu

Published: 2023-05-23T15:00:00Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Rails](<https://devfeed.tech/topics/rails.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rubygems](<https://devfeed.tech/tags/rubygems.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>)

## AI overview

The article explains how the RubyGems and Bundler teams addressed slow bundle installation by introducing the compact index format. The approach replaced an expensive API and insecure serialization format with cached, geographically distributed text data delivered through a CDN, and was adopted by RubyGems and Bundler v1.12.

## Source excerpt

A special thanks to the Ruby open source community