mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-01 06:21:41 +00:00
fix: no correr git lfs al cargar el sitio
es muy lento
This commit is contained in:
parent
e266b88866
commit
5e99cb4758
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue