shlogg · Early preview
Jetthoughts Dev @jetthoughts

Migrating Indirect Dependencies To Direct In Bundler

Bundler stuck on upgrading gems? Try migrating indirect dependencies to direct ones with explicit version constraints for smoother deployments!

Have you seen that bundler stuck on finding how to upgrade your gems? What to do if there is a new breaking version of the indirect dependency, causing deployment fails?

Sometimes we got broken deploy, because of the not supported version of the gem, and it has been used automatically as an indirect dependency.
Or bundler could find any upgrade because of conflict of the indirect dependencies.
So what can we do? How could we help bundler find better versions for indirect dependencies?

  
  
  Migrate from indirect to direct dependency status

Yep, that's all. We just need to add indirect dep...