mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 08:51:42 +00:00
fixup! fix: instalar las gemas cuando sea necesario #12755
This commit is contained in:
parent
6b759c92ce
commit
0744e124e3
1 changed files with 2 additions and 2 deletions
|
@ -575,11 +575,11 @@ class Site < ApplicationRecord
|
|||
|
||||
# Detecta si el Gemfile fue modificado
|
||||
def gemfile_updated?
|
||||
updated_at > File.mtime(File.join(path, 'Gemfile'))
|
||||
updated_at < File.mtime(File.join(path, 'Gemfile'))
|
||||
end
|
||||
|
||||
# Detecta si el Gemfile.lock fue modificado
|
||||
def gemfile_lock_updated?
|
||||
updated_at > File.mtime(File.join(path, 'Gemfile.lock'))
|
||||
updated_at < File.mtime(File.join(path, 'Gemfile.lock'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue