From 75cbed8f6d9610d1a03ef0e299d2a8083c91925b Mon Sep 17 00:00:00 2001 From: f Date: Mon, 6 Feb 2023 16:23:41 -0300 Subject: [PATCH] fix: no eliminar archivos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gem-compiler sabe mejor cuales se pueden eliminar y cuáles no sutty/gems#3 sutty/gems#1 --- app/models/deploy_local.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/models/deploy_local.rb b/app/models/deploy_local.rb index 5bee9ff5..02ce97da 100644 --- a/app/models/deploy_local.rb +++ b/app/models/deploy_local.rb @@ -91,12 +91,7 @@ class DeployLocal < Deploy end def bundle - run %(bundle install --no-cache --path="#{gems_dir}") - - # Eliminar archivos que no se usan - Dir.glob("#{gems_dir}/ruby/2.7.0/{cache/*,gems/*/{spec,test,ext,vendor}}").each do |dir| - FileUtils.rm_rf(dir) - end + run %(bundle install --no-cache --path="#{gems_dir}") end def jekyll_build