[Bug 409545] [NEW] libactiverecord-ruby fails without rubygem installed

Tim Skirvin tskirvin at killfile.org
Wed Aug 5 21:03:19 UTC 2009


Public bug reported:

Binary package hint: libactiverecord-ruby

When I try to use activerecord without rubygems installed, I get an
error:

madcat:/usr/lib/ruby/1.8# irb
irb(main):001:0> require 'activerecord'
LoadError: no such file to load -- rubygems
        from /usr/lib/ruby/1.8/memcache.rb:6:in `require'
        from /usr/lib/ruby/1.8/memcache.rb:6
        from /usr/lib/ruby/1.8/active_support.rb:29:in `require'
        from /usr/lib/ruby/1.8/active_support.rb:29
        from /usr/lib/ruby/1.8/active_record.rb:30:in `require'
        from /usr/lib/ruby/1.8/active_record.rb:30
        from /usr/lib/ruby/1.8/activerecord.rb:1:in `require'
        from /usr/lib/ruby/1.8/activerecord.rb:1
        from (irb):1:in `require'
        from (irb):1

Installing rubygems fixes the problem:

madcat:/usr/lib/ruby/1.8# aptitude install rubygems
Reading package lists... Done
[...]
irb(main):001:0> require 'activerecord'
=> true

This was supposedly fixed as part of bug 261928, but the problem seems
to have come back in jaunty:

https://bugs.launchpad.net/ubuntu/+source/libactiverecord-
ruby/+bug/261928

And this is all based on the Ruby Packaging Guidelines:

http://pkg-ruby-extras.alioth.debian.org/upstream-devs.html

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: openafs
Package: libactiverecord-ruby 2.1.2-1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 SHELL=/bin/zsh
SourcePackage: libactiverecord-ruby
Uname: Linux 2.6.28-13-generic i686

** Affects: libactiverecord-ruby (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
libactiverecord-ruby fails without rubygem installed
https://bugs.launchpad.net/bugs/409545
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list