Also:

> Even if it happens infrequently, how do you solve it when it does happen?

I'd assume that bundler will be able to deal with that and just override/ignore whatever is left in the cache. You have the same issue when switching Ruby versions locally.