루비를 시작하기 만하면 아래에 게시 된 오류를 지나칠 수 없습니다.루비 콘솔에 이상한 SSL 오류가 발생했습니다.
C : /Ruby23/lib/ruby/2.3.0/net/http.rb : 933 : 콘솔에서
require 'HTTParty' require 'Nokogiri' require 'JSON' require 'Pry' require 'csv' page = HTTParty.get('https://newyork.craigslist.org/search/pet?s=0') Pry.start(binding)
오류 : 여기 내 코드는 '연결
connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError) from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in
에서 C에서 : /Ruby23/lib/ruby/2.3.0/net/http.rb:863:indo_start' from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:852:in
시작 ' C : /Ruby23/lib/ruby/2.3.0/net/http.rb : 1398 :request' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/httparty-0.14.0/lib/httparty/request.rb:118:in
에서' C : /Ruby23/lib/ruby/gems/2.3.0/gems/httparty-0.14.0/lib/HTTParty.rb : 560 :perform_request' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/httparty-0.14.0/lib/HTTParty.rb:486:in
C :/Ruby23/lib/ruby / gems에서 ' '을 가져 오십시오. /2.3.0/gems/httpar TY-0.14.0/lib 디렉토리/HTTParty.rb : 598 :get' from web_scraper.rb:7:in
'
I가 온라인 및 GlobalSignRootCA.pem를 교체하고 다시 실행 시도했지만 운이있다. 또한 제거하고 루비와 보석을 다시 설치해보십시오.