summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-05-20 08:39:04 +0200
committerHans de Graaff <graaff@gentoo.org>2018-05-20 08:39:04 +0200
commitc33e32a36a423968db80cc7b8dd52bd685d2fa6a (patch)
tree01cfd182e6ddc66f2697b262bdf7ff71d081b93c /dev-ruby/logue
parentdev-ruby/mime-types: add ruby25 (diff)
downloadgentoo-c33e32a36a423968db80cc7b8dd52bd685d2fa6a.tar.gz
gentoo-c33e32a36a423968db80cc7b8dd52bd685d2fa6a.tar.bz2
gentoo-c33e32a36a423968db80cc7b8dd52bd685d2fa6a.zip
dev-ruby/logue: fix tests without bundler installed
Closes: https://bugs.gentoo.org/655212 Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/logue')
-rw-r--r--dev-ruby/logue/logue-1.0.11.ebuild4
-rw-r--r--dev-ruby/logue/logue-1.0.13.ebuild2
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/logue/logue-1.0.11.ebuild b/dev-ruby/logue/logue-1.0.11.ebuild
index 8666fae6d8b5..df7c5ab66489 100644
--- a/dev-ruby/logue/logue-1.0.11.ebuild
+++ b/dev-ruby/logue/logue-1.0.11.ebuild
@@ -23,3 +23,7 @@ KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/rainbow-2.0.0:*"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}
diff --git a/dev-ruby/logue/logue-1.0.13.ebuild b/dev-ruby/logue/logue-1.0.13.ebuild
index 0fd1d7449f23..6cfc640eddd1 100644
--- a/dev-ruby/logue/logue-1.0.13.ebuild
+++ b/dev-ruby/logue/logue-1.0.13.ebuild
@@ -25,6 +25,8 @@ IUSE=""
ruby_add_rdepend "dev-ruby/rainbow:3"
all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
# Fix path to match installed gem path
sed -i -e 's:logue/lib/logue:/lib/logue:' lib/logue/stack.rb || die
}