5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 14:06:21 +00:00

fix: el método es público para poder instalar gemas

closes #14964
This commit is contained in:
f 2024-01-12 17:09:27 -03:00
parent 60fa25e5a8
commit 29b0622ea8
No known key found for this signature in database

View file

@ -7,6 +7,15 @@ class DeployLocal < Deploy
before_destroy :remove_destination! before_destroy :remove_destination!
def bundle(output: false)
run %(bundle config set --local clean 'true'), output: output
run(%(bundle config set --local deployment 'true'), output: output) if site.gemfile_lock_path?
run %(bundle config set --local path '#{gems_dir}'), output: output
run %(bundle config set --local without 'test development'), output: output
run %(bundle config set --local cache_all 'false'), output: output
run %(bundle install), output: output
end
def git_lfs(output: false) def git_lfs(output: false)
run %(git lfs fetch), output: output run %(git lfs fetch), output: output
run %(git lfs checkout), output: output run %(git lfs checkout), output: output
@ -129,15 +138,6 @@ class DeployLocal < Deploy
run 'yarn install --production', output: output run 'yarn install --production', output: output
end end
def bundle(output: false)
run %(bundle config set --local clean 'true'), output: output
run(%(bundle config set --local deployment 'true'), output: output) if site.gemfile_lock_path?
run %(bundle config set --local path '#{gems_dir}'), output: output
run %(bundle config set --local without 'test development'), output: output
run %(bundle config set --local cache_all 'false'), output: output
run %(bundle install), output: output
end
def jekyll_build(output: false) def jekyll_build(output: false)
with_tempfile(site.private_key_pem) do |file| with_tempfile(site.private_key_pem) do |file|
flags = extra_flags(private_key: file) flags = extra_flags(private_key: file)