Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rubygems-1.9.1 error
Date: Tue, 25 Mar 2014 06:38:20
Message-Id: 201403250638.04925.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] rubygems-1.9.1 error by Tom Wijsman
1 On Monday 24 Mar 2014 23:23:08 Tom Wijsman wrote:
2 > On Mon, 24 Mar 2014 22:44:23 +0000
3 >
4 > Mick <michaelkintzios@×××××.com> wrote:
5 > > On Monday 24 Mar 2014 21:28:56 Tom Wijsman wrote:
6 > > > On Mon, 24 Mar 2014 20:23:55 +0000
7 > > >
8 > > > Mick <michaelkintzios@×××××.com> wrote:
9 > > > > /usr/lib64/ruby/1.9.1/rubygems.rb:30:in `require': cannot load
10 > > > > such file -- rubygems/defaults (LoadError)
11 > > > >
12 > > > > The missing file is there, I think:
13 > > > >
14 > > > > # ls -la /usr/lib64/ruby/1.9.1/rubygems.rb
15 > > > > -rw-r--r-- 1 root root 34951 Apr 20
16 > > > > 2012 /usr/lib64/ruby/1.9.1/rubygems.rb
17 > > > >
18 > > > > What now?
19 > > >
20 > > > It can't load what is on line 30 of that file; there'll be a require
21 > > > instruction, and that require instruction would bring in another
22 > > > file.
23 > >
24 > > Aha! That's what it meant. :-)
25 > >
26 > > The line in question is:
27 > > require 'rubygems/defaults'
28 > >
29 > > Where should I look for that?
30 >
31 > Not that I know Ruby programming; but I assume that either looks for
32 > a defaults file in a rubygems directory, or it looks for a defaults
33 > module inside a rubygems file.
34 >
35 > You might want to file a bug at https://bugs.gentoo.org for the
36 > Ruby maintainers to fix this dependency.
37
38 Problem solved. I had to remerge rubygems. When I used --depclean only
39 rubygems1 was removed. It seems it needed to have rebygems 4 and 6 rebuilt.
40 I haven't had this problem on two other boxen, so I am hesitant to report a
41 bug. Probably I did something wrong.
42
43 Thank you Tom! :-)
44
45 --
46 Regards,
47 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature