commit:     11e35a57fb3316c67df0fe76b21ea63632de96b8
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 07:08:36 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 07:18:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e35a57

dev-ruby/simplecov: fix tests

Ensure that we test the current simplecov version, not the installed
one.

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

 dev-ruby/simplecov/simplecov-0.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/simplecov/simplecov-0.22.0.ebuild 
b/dev-ruby/simplecov/simplecov-0.22.0.ebuild
index 22e7cc4d0130..e08230f54aeb 100644
--- a/dev-ruby/simplecov/simplecov-0.22.0.ebuild
+++ b/dev-ruby/simplecov/simplecov-0.22.0.ebuild
@@ -53,5 +53,5 @@ all_ruby_prepare() {
 
 each_ruby_test() {
        sed -i -e "s:@GENTOO_RUBY@:${RUBY}:" spec/coverage_for_eval_spec.rb || 
die
-       RSPEC_VERSION=3 ruby-ng_rspec spec/ || die
+       RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec/ || die
 }

Reply via email to