On Wed, Feb 21, 2007 at 10:54:01PM +0900, Alex Young wrote:
> Gregory Seidman wrote:
> >On Wed, Feb 21, 2007 at 10:41:17PM +0900, Alex Young wrote:
> >  
> >>Hi all,
> >>
> >>Does anybody recognise this? 
> >>
> >>$ gem check -t mechanize
> >>ERROR:  While executing gem ... (NameError)
> >>   method `use_ssl?' not defined in Net::HTTP
> >>
> >>This is on a Debian system, so I've probably forgotten an apt-get 
> >>install somewhere, but I can't spot which one:
> >>
> >>$ dpkg -l | grep ruby
> >>ii  libmysql-ruby1 2.4.5-6.1      MySQL module for Ruby 1.8
> >>ii  libopenssl-rub 1.0.0+ruby1.8. OpenSSL interface for Ruby
> >>    
> >[...]
> >
> >You're cut off there for some reason, but you should make sure you have
> >libopenssl-ruby1.8 installed, not just libopenssl-ruby.
> >  
> Ah.  Thanks.  Any idea what the difference between the two is, and when 
> you'd want one rather than the other?

Compare:

apt-cache policy libopenssl-ruby
apt-cache policy libopenssl-ruby1.8

It looks like libopenssl-ruby is targeted at ruby 1.8.2.

> Alex
--Greg