# Windows https - Ruby 1.8.4

**URL:** <https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456>\
**Category:** Ruby\
**Created:** [May 3, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456 "2006-05-03T22:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e5b9ba/32.png) [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Post date:** [May 3, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456/1 "2006-05-03T22:41:26Z")

</div>

Hello

This seems to be a problem with a number of people:  
[http://www.codecomments.com/archive327-2006-3-848842.html](http://www.codecomments.com/archive327-2006-3-848842.html)  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/179201](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/179201)

Trying to connect to a https url using the ‘net/http’ I consistently get  
the  
following error:  
==\> NoMethodError: undefined method `verify\_mode’

The solutions above suggest rolling back to Ruby 1.8.2 but as I’m  
wanting to  
use this on a webhost with 1.8.4 that isn’t viable.

Does anyone have a solution to this?

I’ve looked at using an open-uri patch that would enable me to use that  
for  
https but I’m not sure if it’d be possible to apply that at my shared  
hosting account?

Many thankos for your input.

All the best.

Doug

---

<div class="post-metadata">

**Author:** ![ashiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e5b9ba/32.png) [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Post date:** [May 4, 2006, 12:08am UTC](https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456/2 "2006-05-04T00:08:17Z")

</div>

Doug B. wrote:

> The solutions above suggest rolling back to Ruby 1.8.2 but as I’m  
> wanting to  
> use this on a webhost with 1.8.4 that isn’t viable.
> 
> Does anyone have a solution to this?

I was having assorted issues with https-related code that had been  
working just fine not long ago. After some Googling I came across a  
post that said that the 1.8.4 Windows installer was placing std-lib  
files into a different location than had the 1.8.2 installer.

I generally install new versions over the old, so installing 1.8.4 gave  
me a set-up with almost-duplicate files.

So, it appears, the wrong version of the https lib or one of its  
dependencies was tripping things up.

I went in and cleaned out the older files, and now life is good again.

–  
James B.

[http://www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
[Ruby Code & Style](http://www.artima.com/rubycs/) - The Journal By & For Rubyists  
[http://www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff  
[http://www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys  
[http://www.30secondrule.com](http://www.30secondrule.com) - Building Better Tools
