Convert pathname to string.
This commit is contained in:
parent
e92d0c6d89
commit
a48790f05c
|
@ -12,7 +12,7 @@ module HTTParty
|
|||
if mode
|
||||
ca_path = path.join(ca_basename)
|
||||
raise ArgumentError.new("#{ca_path} does not exist") unless ca_path.exist?
|
||||
options[mode] = ca_path
|
||||
options[mode] = ca_path.to_s
|
||||
end
|
||||
|
||||
test_server = SSLTestServer.new({
|
||||
|
|
Loading…
Reference in New Issue