[rubygems/rubygems] Fix bundle remove by invalidating cached Bundle.defintion.
bundle remove
Bundle.defintion
Prior to this commit, bundle add GEM_NAME updated the lockfile, but bundle remove GEM_NAME left GEM_NAME in the lockfile.
bundle add GEM_NAME
bundle remove GEM_NAME
By invalidating the cached Bundle.definition, the existing code handles that without a problem.
Bundle.definition
https://github.com/rubygems/rubygems/commit/aa0794d6a9
[rubygems/rubygems] Fix
bundle removeby invalidating cachedBundle.defintion.Prior to this commit,
bundle add GEM_NAMEupdated the lockfile,but
bundle remove GEM_NAMEleft GEM_NAME in the lockfile.By invalidating the cached
Bundle.definition, the existing codehandles that without a problem.
https://github.com/rubygems/rubygems/commit/aa0794d6a9