Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How does Bundler bundle?
Search
Smit Shah
March 27, 2014
Technology
140
0
Share
How does Bundler bundle?
A dive into Bundler's internals, history and glimpse of its future.
Smit Shah
March 27, 2014
More Decks by Smit Shah
See All by Smit Shah
Resillent By Design
who828
0
140
KDE is unlike a coconut
who828
0
130
My Mom told me that Ruby isn't thread-safe
who828
0
140
Other Decks in Technology
See All in Technology
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
2
1.4k
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
3
2.1k
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
190
Diagnosing performance problems without the guesswork
elenatanasoiu
0
150
新規ゲーム開発におけるAI駆動開発のリアル
202409e2
0
1.6k
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
310
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
240
脅威をエンジニアリングの糧にして:恐怖を乗り越えた先にあったもの / Turn threats into fuel for engineering: what lay beyond overcoming fear
nrslib
1
370
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
300
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
290
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
Gradle×GitHub_ActionsでCI時間を約50%短縮 ジョブ分割の設計と落とし穴 / Cutting CI Time by ~50% with Gradle and GitHub Actions: Job-Splitting Design and Pitfalls
takatty
0
600
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
470
Prompt Engineering for Job Search
mfonobong
0
330
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
A designer walks into a library…
pauljervisheath
211
24k
The Curse of the Amulet
leimatthew05
1
13k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
How GitHub (no longer) Works
holman
316
150k
Design in an AI World
tapps
1
220
Transcript
Bundler How does bundle?
Smit Shah github.com/who828 twitter.com/who828
None
FETCHING Metadata
Tale of Two Indices
Bundler 1.1 Dependency ! API
The Great RubyGems ! DDOS
New! Bundler API ! Host
Shortcomings •Less Secure •Impossible to cache •Not Server Friendly •No
checksum, Ruby and RubyGems platform support
Work on New Index Format
The New Index •More Secure •Easier to Cache •Less Server
side work •Checksum, Ruby and RubyGems platform support
What about now? •Use Bundler 1.6 RC2 •Use source mirrors
•Use bundle pack
RESOLVING Dependencies
The hardworking resolver
Resolving dependency is an NP complete problem
The existing dependency algorithm is recursive
None
The new dependency resolver
The new resolver •Iterative •Utilises CSP algorithms •Prunes the search
space much better •Resolves dependencies better
What ! about the! performance?!
What about now? •Use Bundler 1.6 RC2, again! •Use version
constraints •Use parallel gem installation
Exciting ! things ! coming up ! in Bundler!
Thanks