commit:     4b85d2f6eff583c6a95c59f591cb66ab84469f5e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat May  8 06:11:05 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat May  8 06:11:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b85d2f6

eclass/ruby-fakegem.eclass: fix more ruby invocations for did_you_mean

Closes: https://bugs.gentoo.org/788124

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 eclass/ruby-fakegem.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 19445b10c16..3e36b06d315 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -408,7 +408,7 @@ EOF
 # Configure extensions defined in RUBY_FAKEGEM_EXTENSIONS, if any.
 each_fakegem_configure() {
        for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-               ${RUBY} -C ${extension%/*} ${extension##*/} || die
+               ${RUBY} --disable=did_you_mean -C ${extension%/*} 
${extension##*/} || die
        done
 }
 
@@ -517,7 +517,7 @@ all_ruby_compile() {
 each_fakegem_test() {
        case ${RUBY_FAKEGEM_RECIPE_TEST} in
                rake)
-                       ${RUBY} -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests 
failed"
+                       ${RUBY} --disable=did_you_mean -S rake 
${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
                        ;;
                rspec)
                        RSPEC_VERSION=2 ruby-ng_rspec

Reply via email to