From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EC301382C5 for ; Wed, 27 Jan 2021 18:13:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CD64E0C33; Wed, 27 Jan 2021 18:13:40 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE3D8E0C24 for ; Wed, 27 Jan 2021 18:13:39 +0000 (UTC) Received: from becker.bs.l ([77.179.142.195]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MlfCm-1lnClP3xJq-00ijns for ; Wed, 27 Jan 2021 19:13:37 +0100 Received: from bsch by becker.bs.l with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l4pJx-000I8U-HL for gentoo-user@lists.gentoo.org; Wed, 27 Jan 2021 19:13:37 +0100 Date: Wed, 27 Jan 2021 19:13:37 +0100 From: Bertram Scharpf To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Rubygems and Rake problem Message-ID: <20210127181337.w4libx476a5ucrsj@becker.bs.l> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Sender: Bertram Scharpf X-Provags-ID: V03:K1:CaRgWR/esfSR5rctJymRr4fgSFmnR8KVXcvkeIBRJ5lmcSxF+qE screfkyCJl/tsRKi405iVuj4dQmjq+hWioXefPdNXm2CPz/9aOz+vV5XAwsudncCwSB/H59 5aBEtL25gZIA9hUGlkYabnIYZgIqBGv28S7yEsXXEWtEaNzTOtKkhhyOU+y0ktG4qiZHYWp Ak4Fp2bbgmgXSmzLg1ZCg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:a6azSMaNfEA=:ZAewkdhocwPj/4k7nbc/nB cijafUijPtaNPCDIoFlxdlyC0Klpzg1g1x8osJ7ee4Ta7NEAO2YYG9LgCEAsfvvIoJk1wL7tI P+lzRtqQCBBim7dLWh8N0UrRkLt0LeZe2gEe5iYec2Nhj6oveP8UUUO/Xf3JVTT64XStfFhtK NrBY41ls/jiQWY9x4vCvcSLP+vVuHgZU4+3YFmcYhWAZfoC26IE3NbpF6e3x05hVfob2JL6bs 7zwLK34eWHLpX1JAZrOR4T6BktZxOF5EgGbZIasHDx10yJbQX9DxKeOl2rTEhtwzIoxD91oXY 6VClxa8Ms2FnM3pS1Wst6XgAFrL9ntJFrllpFCslrJueSBngD0Cwu1YFVVoNMiOjOL0leIXWk Yae7O+PkJW/xDQreRteg3WtIDDJ/zTl7epSkro8GlZhKZkTMid8TmRPOdtNrjc3w0TqwSIszR 2JQx6lnsxg== X-Archives-Salt: 437d2d26-a1ab-4cfc-ad6e-a3b4c7e2265c X-Archives-Hash: e05d12eca85dd46476b236e88cb3c109 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