5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 01:56:22 +00:00

Rails.root.join devuelve Pathname, no String

This commit is contained in:
f 2021-05-26 16:42:34 -03:00
parent 908a0a90a8
commit 134535cb1c

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)