Convert pathname to string.

This commit is contained in:
John Nunemaker 2012-04-16 00:18:41 -04:00
parent e92d0c6d89
commit a48790f05c
1 changed files with 1 additions and 1 deletions

View File

@ -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({