Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4363

Re: Digest::Base problem

From Martin Hansen <mail@maasha.dk>
Newsgroups comp.lang.ruby
Subject Re: Digest::Base problem
Date 2011-05-12 08:57 -0500
Organization Service de news de lacave.net
Message-ID <519b405eae994c781e4eb36ef2b02b62@ruby-forum.com> (permalink)
References (5 earlier) <BANLkTin4XrjXrj-ephC2Kj6Un-SBegWJ9Q@mail.gmail.com> <b6087a6ced2d19c1ed4cb6ba2861ce49@ruby-forum.com> <BANLkTin_dzSELD_g6gZedxtcGx=KDaQyRg@mail.gmail.com> <e8969bd0a42b5e0e3b438fa8d0e8a9d9@ruby-forum.com> <BANLkTimEwap6m_gobOdPkGOU2=mn_-iTUw@mail.gmail.com>

Show all headers | View raw


>> Can we somehow test if Ruby has SSL support - without using digest -
>> which appears to be broken?
>
> Sure. Try to access a website that uses HTTPS, like so:


irb(main):001:0> require 'httpclient'
ArgumentError: undefined class/module Digest::Base
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from 
/home/maasha/Install/src/Martin/lib/ruby/gems/1.9.1/gems/httpclient-2.2.0.2/lib/httpclient.rb:11:in 
`<top (required)>'
        from <internal:lib/rubygems/custom_require>:33:in `require'
        from <internal:lib/rubygems/custom_require>:33:in `rescue in 
require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from (irb):1
        from ./irb:12:in `<main>'


OK, so something ssl is probably fubar. It is strange that it appears to 
be a problem with both the precompiled debian packages and my ruby 
do-it-yourself compile.

Grrr. I need some systematic approach to track down this issue.


Martin

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 05:59 -0500
  Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 06:29 -0500
    Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 06:55 -0500
      Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 07:14 -0500
        Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 07:45 -0500
          Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 07:53 -0500
            Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:02 -0500
              Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 08:25 -0500
                Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:36 -0500
                Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 08:43 -0500
                Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:57 -0500
  Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 08:07 -0500
    Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:22 -0500
      Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 09:15 -0500
        Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 09:26 -0500
          Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 09:39 -0500
            Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 09:52 -0500
              Re: Digest::Base problem Linda Metcalfe <lmetcalfe@connextions.com> - 2011-05-12 10:06 -0500
                Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 10:19 -0500
            Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 10:58 -0500
  Re: Digest::Base problem Brian Candler <b.candler@pobox.com> - 2011-05-13 03:17 -0500
    Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-13 06:23 -0500
      Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-13 06:52 -0500

csiph-web