[DRE-maint] Bug#470282: libopenid-ruby1.8: does not load

Drake Wilson drake at begriffli.ch
Mon Mar 10 12:49:50 UTC 2008


Package: libopenid-ruby1.8
Version: 1.1.4-2
Severity: important

Attempting to load any parts of the OpenID library for Ruby appears to
bomb.  For instance, if I try to load it in the most obvious way:

  $ ruby -r openid -e true
  /usr/lib/ruby/1.8/openid/discovery.rb:8: undefined method `require_gem' for main:Object (NoMethodError)
          from /usr/lib/ruby/1.8/openid/consumer.rb:7:in `require'
          from /usr/lib/ruby/1.8/openid/consumer.rb:7
          from /usr/lib/ruby/1.8/openid.rb:2:in `require'
          from /usr/lib/ruby/1.8/openid.rb:2

Doing << require 'openid' >> from irb yields the same error.  Looking
at /usr/share/doc/libopenid-ruby1.8/README, I see an example given in
the section "Installing" of test-loading the OpenID libraries with a
particular irb invocation, but that doesn't seem to work either:

  $ irb
  irb(main):001:0> require 'rubygems'
  => true
  irb(main):002:0> require_gem 'ruby-openid'
  NoMethodError: undefined method `require_gem' for main:Object
          from (irb):2
  irb(main):003:0> 

Perhaps I'm doing something wrong... ?  If not, this appears to make
the package unusable, at least on my system.  Can anyone reproduce
this?

   ---> Drake Wilson

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libopenid-ruby1.8 depends on:
ii  libhmac-ruby1.8              0.3-2       A keyed-hash message authenticatio
ii  libruby1.8                   1.8.6.114-1 Libraries necessary to run Ruby 1.
ii  libyadis-ruby1.8             0.3.4-2     Yadis service discovery library fo

libopenid-ruby1.8 recommends no packages.

-- no debconf information






More information about the Pkg-ruby-extras-maintainers mailing list