Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Rubygems and Rake problem
Date: Wed, 27 Jan 2021 18:13:46
Message-Id: 20210127181337.w4libx476a5ucrsj@becker.bs.l
1 Hi,
2
3 after a long period with a lot of problems installing
4 Ruby Gems and Gentoo packages containing Ruby Gems, I found
5 the following solution: I added a line
6
7 s.executables = ["rake".freeze]
8
9 to the file "/usr/lib64/ruby/gems/2.7.0/specifications/rake-13.0.1.gemspec"
10 (and the other Ruby versions).
11
12 This fixed all my problems.
13
14 The longer I do research about that, I am convinced the bug
15 is inside the "to_ruby" method in
16 "/usr/lib64/ruby/site_ruby/2.7.0/rubygems/specification.rb",
17 line 2423. That doesn't produce the "s.executables" line.
18
19 It gets called from Portage in
20 "/usr/portage/eclass/ruby-fakegem.eclass", line 277.
21
22 What do you think? Maybe someone likes to confirm this.
23 I will definitely not file any report or patch to neither
24 the RubyGems nor the Rake project any more.
25
26 Bertram
27
28
29 --
30 Bertram Scharpf
31 Stuttgart, Deutschland/Germany
32 http://www.bertram-scharpf.de

Replies

Subject Author
[gentoo-user] Re: Rubygems and Rake problem Hans de Graaff <graaff@g.o>