lib/algolia/client.rb in algoliasearch-1.8.0 vs lib/algolia/client.rb in algoliasearch-1.8.1

- old
+ new

@@ -387,10 +387,10 @@ } hinfo[:session].transparent_gzip_decompression = true hinfo[:session].connect_timeout = connect_timeout hinfo[:session].send_timeout = send_timeout hinfo[:session].receive_timeout = receive_timeout - hinfo[:session].ssl_config.add_trust_ca File.join(File.dirname(__FILE__), '..', '..', 'resources', 'ca-bundle.crt') + hinfo[:session].ssl_config.add_trust_ca File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'resources', 'ca-bundle.crt')) hinfo end end def perform_request(session, url, method, data)