* [gentoo-user] Rubygems and Rake problem
@ 2021-01-27 18:13 Bertram Scharpf
2021-01-28 5:52 ` [gentoo-user] " Hans de Graaff
0 siblings, 1 reply; 3+ messages in thread
From: Bertram Scharpf @ 2021-01-27 18:13 UTC (permalink / raw
To: gentoo-user
Hi,
after a long period with a lot of problems installing
Ruby Gems and Gentoo packages containing Ruby Gems, I found
the following solution: I added a line
s.executables = ["rake".freeze]
to the file "/usr/lib64/ruby/gems/2.7.0/specifications/rake-13.0.1.gemspec"
(and the other Ruby versions).
This fixed all my problems.
The longer I do research about that, I am convinced the bug
is inside the "to_ruby" method in
"/usr/lib64/ruby/site_ruby/2.7.0/rubygems/specification.rb",
line 2423. That doesn't produce the "s.executables" line.
It gets called from Portage in
"/usr/portage/eclass/ruby-fakegem.eclass", line 277.
What do you think? Maybe someone likes to confirm this.
I will definitely not file any report or patch to neither
the RubyGems nor the Rake project any more.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: Rubygems and Rake problem
2021-01-27 18:13 [gentoo-user] Rubygems and Rake problem Bertram Scharpf
@ 2021-01-28 5:52 ` Hans de Graaff
2021-02-01 6:36 ` Bertram Scharpf
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Graaff @ 2021-01-28 5:52 UTC (permalink / raw
To: gentoo-user
On Wed, 27 Jan 2021 19:13:37 +0100, Bertram Scharpf wrote:
> after a long period with a lot of problems installing Ruby Gems and
> Gentoo packages containing Ruby Gems, I found the following solution: I
> added a line
>
> s.executables = ["rake".freeze]
> What do you think? Maybe someone likes to confirm this.
> I will definitely not file any report or patch to neither the RubyGems
> nor the Rake project any more.
Could you file a but about this at https://bugs.gentoo.org/ including an
example of the problem this is causing for you? As far as I'm aware this
is not a known issue.
Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Re: Rubygems and Rake problem
2021-01-28 5:52 ` [gentoo-user] " Hans de Graaff
@ 2021-02-01 6:36 ` Bertram Scharpf
0 siblings, 0 replies; 3+ messages in thread
From: Bertram Scharpf @ 2021-02-01 6:36 UTC (permalink / raw
To: gentoo-user
Hi,
On Thursday, 28. Jan 2021, 06:52:37 +0100, Hans de Graaff wrote:
> On Wed, 27 Jan 2021 19:13:37 +0100, Bertram Scharpf wrote:
>
> > after a long period with a lot of problems installing Ruby Gems and
> > Gentoo packages containing Ruby Gems, I found the following solution: I
> > added a line
> >
> > s.executables = ["rake".freeze]
>
> > What do you think? Maybe someone likes to confirm this.
> > I will definitely not file any report or patch to neither the RubyGems
> > nor the Rake project any more.
>
> Could you file a but about this at https://bugs.gentoo.org/ including an
> example of the problem this is causing for you? As far as I'm aware this
> is not a known issue.
I tried to reproduce the problem, but the Gem installer
immediately updates the Rake gem so that the messy gem
specification of the old version will no longer be accessed.
I suppose the error only surfaces in times when the Rake
package is the newest version.
Nevertheless, the missing executable specification line
definitely is a bug, probably on the RubyGems side, not in
Gentoo Portage.
Again, and I can’t stress this enough, I'm tired of
searching for bugs in these lousy written tools RubyGems and
Rake. I will not make any effort to report any bugs there
any more and I do not want to be responsible for anything
these tools do.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-01 6:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-27 18:13 [gentoo-user] Rubygems and Rake problem Bertram Scharpf
2021-01-28 5:52 ` [gentoo-user] " Hans de Graaff
2021-02-01 6:36 ` Bertram Scharpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox