The Missing Bundler Features
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A Ruby core contributor argues that Bundler's biggest problem isn't speed but missing user-control features. Two specific features are proposed: a 'force' option to override gem dependency constraints set by third-party gems, and a gem substitution mechanism (e.g., 'as:' or 'ban') to replace broken or abandoned gems with alternatives without relying on git forks. The author illustrates the pain with real examples like upgrading the openssl gem blocked by web-push's pessimistic version constraint, and the httpclient gem that broke SSL for years due to abandonment. The core argument is that Bundler currently trusts gem publishers over the actual project owner, and these features would restore control to the user.
Table of contents
Why Bundler Is Fast Enough For MeDependency HellUpper ConstraintsForcing A VersionSubtituting A GemIt’s All About ControlConclusionSort: