# Problem with Leopard Ruby and OpenSSL version

**URL:** <https://www.ruby-forum.com/t/problem-with-leopard-ruby-and-openssl-version/173716>\
**Category:** Rails\
**Created:** [August 13, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/problem-with-leopard-ruby-and-openssl-version/173716 "2009-08-13T18:37:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctagg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb8c5e/32.png) [@ctagg](https://www.ruby-forum.com/u/ctagg)\
**Post date:** [August 13, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/problem-with-leopard-ruby-and-openssl-version/173716/1 "2009-08-13T18:37:40Z")

</div>

I’m using Leopard version of Ruby 1.8.6 and Have OpenSSL installed via  
DarwinPorts (openssl @0.9.8g\_0)

However this isn’t the version my Ruby installed is using:

$ irb  
irb(main):001:0\> require ‘openssl’  
=\> true  
irb(main):002:0\> OpenSSL::OPENSSL\_VERSION  
=\> “OpenSSL 0.9.7l 28 Sep 2006”  
irb(main):003:0\> OpenSSL::OPENSSL\_VERSION\_NUMBER  
=\> 9466063

I’ve spent the afternoon searching for any old rogue versions of  
either ruby or openssl and couldn’t find any (at least none in the  
path). Anybody got any ideas of what to try next?

Cheers  
Chris

---

<div class="post-metadata">

**Author:** ![ctagg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb8c5e/32.png) [@ctagg](https://www.ruby-forum.com/u/ctagg)\
**Post date:** [August 13, 2009, 7:06pm UTC](https://www.ruby-forum.com/t/problem-with-leopard-ruby-and-openssl-version/173716/2 "2009-08-13T19:06:22Z")

</div>

On Thu, Aug 13, 2009 at 9:36 AM, ctagg [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> =\> “OpenSSL 0.9.7l 28 Sep 2006”  
> irb(main):003:0\> OpenSSL::OPENSSL\_VERSION\_NUMBER  
> =\> 9466063
> 
> I’ve spent the afternoon searching for any old rogue versions of  
> either ruby or openssl and couldn’t find any (at least none in the  
> path). Anybody got any ideas of what to try next?
> 
> Cheers  
> Chris

Chris, you’re using the version of OpenSSL that’s apart of the  
Mac OS 10.5 installation. You can install ruby 1.8 or 1.9 via  
MacPorts and it will reference the MacPorts install of OpenSSL.

Otherwise, you’ll have to use the dynamic link editor, “dyld”, to  
update the cache on your system. If you’re not familiar with this  
command, just simply rebuild Ruby 1.8/1.9 via MacPorts.

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![ctagg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb8c5e/32.png) [@ctagg](https://www.ruby-forum.com/u/ctagg)\
**Post date:** [August 13, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/problem-with-leopard-ruby-and-openssl-version/173716/3 "2009-08-13T20:21:19Z")

</div>

Conrad  
Thanks. Was afraid it might have been how the Leopard Ruby was set up.  
Not familiar with dyld. Did have Ruby installed via MacPorts but  
ditched it when I upgraded to Leopard. Might be time to bite the  
bullet and kill two birds with one stone and install multiple versions  
of ruby while I’m at it.

Cheers  
Chris
