mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 01:26:22 +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ó
|
# * El archivo Gemfile.lock se modificó
|
||||||
def install_gems
|
def install_gems
|
||||||
return unless persisted?
|
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?
|
return unless (!gems_installed? || theme_path.blank?) || gemfile_updated? || gemfile_lock_updated?
|
||||||
|
|
||||||
deploy_local.bundle
|
deploys.find_by_type('DeployLocal').bundle
|
||||||
touch
|
touch
|
||||||
FileUtils.touch(gemfile_path)
|
FileUtils.touch(gemfile_path)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue