dev-ruby/logue: fix tests without bundler installed

Closes: https://bugs.gentoo.org/655212
Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
Hans de Graaff
2018-05-20 08:39:04 +02:00
parent bbdb1d7fc5
commit c33e32a36a
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -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
}
+2
View File
@@ -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
}