How do I manage bundled gems in a capistrano deployment?
问题 Currently, I'm just running the following: after 'deploy:update_code', 'deploy:bundle' namespace :deploy do task :bundle do run "cd #{release_path} && bundle install --deployment --without development test staging" end end Now this works fine, but the bundler ends up installing all the gems to vendor/gems every time. While I understand the merit in isolating the gems to each release (as opposed to using the shared folder, which (?) might result in errors on rollback and such), surely there is