commit:     b62b2ddf6bcc3fbea4ff2d43b0bcb7494046d2c4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  6 13:54:24 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Oct  6 13:56:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b62b2ddf

dev-ruby/rdoc: avoid running tools through bundler

This is not needed for us and brings in unwanted dependencies. Use the
correct ruby interpreter instead.

Fixes: https://bugs.gentoo.org/963848
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rdoc/rdoc-6.15.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-ruby/rdoc/rdoc-6.15.0.ebuild b/dev-ruby/rdoc/rdoc-6.15.0.ebuild
index df7db18183a0..961dd0636c93 100644
--- a/dev-ruby/rdoc/rdoc-6.15.0.ebuild
+++ b/dev-ruby/rdoc/rdoc-6.15.0.ebuild
@@ -68,6 +68,11 @@ all_ruby_prepare() {
                -i ${RUBY_FAKEGEM_GEMSPEC} || die
 }
 
+each_ruby_prepare() {
+       sed -e "/sh/ s:\"bundle\", \"exec\", :\"${RUBY}\", \"-S\", :" \
+               -i Rakefile || die
+}
+
 all_ruby_compile() {
        all_fakegem_compile
 

Reply via email to