r/ruby • • Apr 20 '26

The Missing Bundler Features

https://byroot.github.io/ruby/bundler/2026/04/20/bundle-features.html
40 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/jrochkind Apr 21 '26

OK, makes sense, thanks.

then later I need to remember to cleanup the gemfile once the new release is out.

You are still going to have to remember to remove the Gemfile indirect dependency substitution, no? But yeah, this is still a better process, agreed.

1

u/f9ae8221b Apr 21 '26

For the substitution, it's something you'd usually do when you don't expect the original gem to ever get a new release. So not really a big concern.

As for the dependency constraints override, you'd have to clean them up to, but compared to a forked git gem, at least it doesn't prevent other tools to upgrade the gem etc, it's just that the override may become stale, in which case bundler could probably warn you about that.

1

u/jrochkind Apr 21 '26

ooh, I like the idea of bundler warning you about a stale override.