From 5e99cb4758447e7d53d4c41924ec1ba479e2512f Mon Sep 17 00:00:00 2001 From: f Date: Wed, 15 May 2024 17:26:14 -0300 Subject: [PATCH] fix: no correr git lfs al cargar el sitio es muy lento --- app/models/site.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/models/site.rb b/app/models/site.rb index 28f0d739..75b0a744 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -576,13 +576,9 @@ class Site < ApplicationRecord # * El archivo Gemfile.lock se modificó def install_gems return unless persisted? - - deploy_local = deploys.find_by_type('DeployLocal') - deploy_local.git_lfs - return unless (!gems_installed? || theme_path.blank?) || gemfile_updated? || gemfile_lock_updated? - deploy_local.bundle + deploys.find_by_type('DeployLocal').bundle touch FileUtils.touch(gemfile_path) end