title: Ruby, HTTParty, SSL error
body: <p>I have just installed ruby and have been following Ruby tutorials. I started this tutorial: <a href="https://www.distilled.net/resources/web-scraping-with-ruby-and-nokogiri-for-beginners/" rel="nofollow noreferrer">https://www.distilled.net/resources/web-scraping-with-ruby-and-nokogiri-for-beginners/</a></p>
  
  <p>Where I got the SSL error so I used the guide at <a href="http://guides.rubygems.org/ssl-certificate-update/" rel="nofollow noreferrer">http://guides.rubygems.org/ssl-certificate-update/</a></p>
  
  <p>My problem is though that my version is ruby 2.6.7 when I ask for the version but when I run this code:</p>
  
  <pre><code>require 'Nokogiri'
  require 'HTTParty'
  require 'JSON'
  require 'Pry'
  require 'csv'
  
  page = HTTParty.get('https://google.com/')
  Pry.start(binding)
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>C:\Ruby22\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/Users/Tom/RubymineProjects/projectone/projectone.rb
  C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
      from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `block in connect'
      from C:/Ruby22/lib/ruby/2.2.0/timeout.rb:73:in `timeout'
      from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `connect'
      from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:863:in `do_start'
      from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:852:in `start'
      from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:1375:in `request'
      from C:/Ruby22/lib/ruby/gems/2.2.0/gems/httparty-0.14.0/lib/httparty/request.rb:118:in `perform'
      from C:/Ruby22/lib/ruby/gems/2.2.0/gems/httparty-0.14.0/lib/HTTParty.rb:560:in `perform_request'
      from C:/Ruby22/lib/ruby/gems/2.2.0/gems/httparty-0.14.0/lib/HTTParty.rb:486:in `get'
      from C:/Ruby22/lib/ruby/gems/2.2.0/gems/httparty-0.14.0/lib/HTTParty.rb:598:in `get'
      from C:/Users/Tom/RubymineProjects/projectone/projectone.rb:7:in `&lt;top (required)&gt;'
      from -e:1:in `load'
      from -e:1:in `&lt;main&gt;'
  </code></pre>
  
  <p>It seems to be using 2.2.0 still, I tried to google how to uninstall a version but still unsure what to do? Any help? </p>
  
  <p>I ran the script in Ruby Mine if that helps.</p>
  
  <p>I am running Windows 10.</p>