livingsocial / bundler-patch

Update your gems conservatively to deal with vulnerable gems or just get more current.
MIT License
65 stars 3 forks source link

Ensure cache is updated after gems installed #36

Closed chrismo closed 8 years ago

chrismo commented 8 years ago

Currently bundler-patch doesn't install new gems, which if vendor/cache is in play, means a bundle command must be issued separately.

Whups! Installation already happens - but the step AFTER it to update the cache is missing. The comment below is still valid, but ... prolly I guess fix this up in bundler-patch.

chrismo commented 8 years ago

The not-quite-duplicated code inside update.rb and install.rb of the bundler code base makes me hesitant to re-re-implement it here. I'm going to pause on this until maybe a future Bundler version where that's been cleaned up into something re-usable.