diff --git a/app/models/deploy.rb b/app/models/deploy.rb index b1692280..3611a74b 100644 --- a/app/models/deploy.rb +++ b/app/models/deploy.rb @@ -40,7 +40,7 @@ class Deploy < ApplicationRecord end def gems_dir - @gems_dir ||= Rail.root.join('_storage', 'gems', site.name) + @gems_dir ||= Rails.root.join('_storage', 'gems', site.name) end # Corre un comando y devuelve true si terminó correctamente