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