繁体   English   中英

Rails 5.1和Geocoder:SSL_connect返回= 1 errno = 0状态=错误:证书验证失败

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM