diff --git a/app/models/deploy_local.rb b/app/models/deploy_local.rb index b7017018..9d87a6cb 100644 --- a/app/models/deploy_local.rb +++ b/app/models/deploy_local.rb @@ -15,7 +15,7 @@ class DeployLocal < Deploy def bundle(output: false) run %(bundle config set --local clean 'true'), output: output run %(bundle config set --local deployment 'true'), output: output if site.gemfile_lock_path? - run %(bundle config set --local path '#{gems_dir}'), output: output + run %(bundle config set --local path '#{site.bundle_path}'), output: output run %(bundle config set --local without 'test development'), output: output run %(bundle config set --local cache_all 'false'), output: output run %(bundle install), output: output