Rails.root.join devuelve Pathname, no String
This commit is contained in:
parent
908a0a90a8
commit
134535cb1c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue