I am currently 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 great, but the binder completes the installation of all the gems to vendor/gems every time. Although I understand the virtues of isolating gems for each release (as opposed to using a shared folder, which (?) Can cause rollback errors and the like), there is certainly a better way to do this, which does not take a lot of time to deploy and save disk space.
source share