![](/img/trans.png)
[英]Ruby rails paperclip Seahorse::Client::NetworkingError (SSL_connect returned=1 errno=0 state=error: certificate verify failed)
[英]Rails 5.1 and Geocoder: SSL_connect returned=1 errno=0 state=error: certificate verify failed
我正在使用Geocoder获取地址的坐标:
location.rb
geocoded_by :address
after_validation :geocode
由于OpsenSSL错误而无法保存
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: certificate
verify failed):
我使用Nominatim作为API。 我错过了什么?
更新
那是bundle install输出的摘录
Using geocoder 1.5.0
Bundle complete! 22 Gemfile dependencies, 82 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
问题通过解决
gem update --system
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.