Demystifying the Ruby package ecosystem
summary
Explains exactly what happens when gem install and bundle install run: RubyGems (hosting over 175 thousand gems) serves .gem files and metadata, the local install unpacks files and writes specs, and Bundler evaluates the Gemfile then resolves versions using the millennial resolver for single installs and pubgrub plus the compact index for apps. Shows how Rails auto-requires gems, uses bin stubs, and how to inspect or edit gems with bundle show/open and reset with gem pristine. Covers typo‑squatting defenses, MFA and OIDC publishing, and download counts (Rails ~half a billion) as risk signals.
AI-written summary · about
chapters (5)
- 0:00Introduction to dependencies
- 4:07How gem install works
- 11:15Understanding bundle install
- 18:44Managing gems in Rails
- 22:31Security and best practices
related talks
35mMaking it on your own and the pitfalls of gem dependencies
38mCrafting Gems
32mEvolution of Rails within RubyGems.org
45m`bundle install` Y U SO SLOW: Server Edition
20mMaster the Rails Asset Pipeline: Best Practices for Apps & Gems
37mExtreme Makeover: Rubygems Edition
29mHow to Break into Reading Open Source
01h 44mLet’s Extend Rails With A Gem
