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
On Thu, Aug 13, 2009 at 9:36 AM, ctagg <chrismtaggart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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 > ChrisChris, 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> > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Aug 13, 6:04 pm, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Aug 13, 2009 at 9:36 AM, ctagg <chrismtagg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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 > > 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 > >