![](/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.