[英]Rails 5.1 and Geocoder: SSL_connect returned=1 errno=0 state=error: certificate verify failed
I'm using Geocoder to get coordinates for an adress: 我正在使用Geocoder获取地址的坐标:
location.rb
geocoded_by :address
after_validation :geocode
It doesn't save because of the OpsenSSL Error 由于OpsenSSL错误而无法保存
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: certificate
verify failed):
I use Nominatim as API. 我使用Nominatim作为API。 Did I miss something?
我错过了什么?
Update 更新
That is an excerpt of the output of bundle install 那是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.