summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-11 13:53:59 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-11 14:21:42 +0100
commit06b2c28484403e970a605478234f823fcce67ca5 (patch)
tree307db702f5c55207525946d66b8fa75bb31a4c29 /dev-ruby/activemodel
parentapp-arch/zoo: revbump, fix implicit ints (diff)
downloadgentoo-06b2c28484403e970a605478234f823fcce67ca5.tar.gz
gentoo-06b2c28484403e970a605478234f823fcce67ca5.tar.bz2
gentoo-06b2c28484403e970a605478234f823fcce67ca5.zip
dev-ruby/activemodel: fix tests
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/activemodel')
-rw-r--r--dev-ruby/activemodel/activemodel-6.1.7.6.ebuild4
1 files changed, 3 insertions, 1 deletions
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"
}