excon

Excon not recognising my SSL route

岁酱吖の 提交于 2020-01-15 05:06:27
问题 When pushing to Heroku, my db:migrate failed at the following: ! Heroku client internal error. Error: Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, or `Excon.defaults[:ssl_verify_peer] = false` (less secure). (Excon::Errors::SocketError) So, I added the following to the bottom of my production.rb file (my certs at in the root file) Excon.defaults[:ssl_ca_path] = Rails.root Same error. So I then tried the