From b9a3a6fb2beb4aa16d5b6ce24f1d05ae737b62ef Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Wed, 2 Mar 2022 15:15:32 +0100 Subject: [PATCH] Share bundler configuration between deploys --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 8519deb5..eac6bf00 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -19,7 +19,7 @@ set :branch, OSEM_DEPLOY_BRANCH # Shared dirs and files will be symlinked into the app-folder by the 'deploy:link_shared_paths' step. # Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more # run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files` -set :shared_dirs, fetch(:shared_dirs, []).push('public/system') +set :shared_dirs, fetch(:shared_dirs, []).push('public/system', '.bundle') set :shared_files, fetch(:shared_files, []).push('.env.production') desc "Deploys the current version to the server."