carlhuda/bundler — Issue #1561: Bundler 1.1 breaks deployment rollback
Author: cgriego
Created: 2011-11-30 02:10:23+00:00
State: open

The problem is that bundle-install now cleans by default, even with deploying. The problem with his is that if you deploy and drop a dependency (old version, old gem) then bundle-install will dutifully remove it. Then if you need to rollback, which is by design meant to be a very fast operation with minimal impact (change symlink, restart app -- that's why we keep multiple versions on the server), then the dependencies for the old version are missing. I've discussed this once before with @indirect so he should be clued in to this issue.

The fix should be that --deployment implies --no-clean