commit:     06b2c28484403e970a605478234f823fcce67ca5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 12:53:59 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 13:21:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b2c284

dev-ruby/activemodel: fix tests

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

 dev-ruby/activemodel/activemodel-6.1.7.6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/activemodel/activemodel-6.1.7.6.ebuild 
b/dev-ruby/activemodel/activemodel-6.1.7.6.ebuild
index 15047517687c..d1029cfe45f3 100644
--- a/dev-ruby/activemodel/activemodel-6.1.7.6.ebuild
+++ b/dev-ruby/activemodel/activemodel-6.1.7.6.ebuild
@@ -43,5 +43,7 @@ ruby_add_bdepend "
 
 all_ruby_prepare() {
        # Set test environment to our hand.
-       sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove 
load paths"
+       sed -e '/load_paths/d' \
+               -e '2igem "activesupport", "~> 6.1.0"; gem "railties", "~> 
6.1.0"' \
+               -i test/cases/helper.rb || die "Unable to remove load paths"
 }

Reply via email to