5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-15 23:32:22 +00:00

Rails.root.join devuelve Pathname, no String

fixes #1837
This commit is contained in:
f 2021-05-26 16:42:34 -03:00
parent 908a0a90a8
commit 37e28dcd67

View file

@ -161,12 +161,12 @@ class Site
# @return [String]
def public_key
@public_key ||= Rails.root.join('.ssh', 'id_ed25519.pub')
@public_key ||= Rails.root.join('.ssh', 'id_ed25519.pub').to_s
end
# @return [String]
def private_key
@private_key ||= Rails.root.join('.ssh', 'id_ed25519')
@private_key ||= Rails.root.join('.ssh', 'id_ed25519').to_s
end
def relativize(file)