summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-08 06:06:22 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-08 06:06:22 +0200
commit7fea07f9f980588c424a15fe4d475e4df9691b09 (patch)
treed664a42b00dc512d1dc47338b7934d91e10e73a5
parentdev-ruby/httpclient: cleanup (diff)
downloadgentoo-7fea07f9f980588c424a15fe4d475e4df9691b09.tar.gz
gentoo-7fea07f9f980588c424a15fe4d475e4df9691b09.tar.bz2
gentoo-7fea07f9f980588c424a15fe4d475e4df9691b09.zip
dev-ruby/rgen: avoid need for bundler dependency
Closes: https://bugs.gentoo.org/660472 Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/rgen/rgen-0.8.3.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/rgen/rgen-0.8.3.ebuild b/dev-ruby/rgen/rgen-0.8.3.ebuild
index a2986146efc1..bacb8b5355bd 100644
--- a/dev-ruby/rgen/rgen-0.8.3.ebuild
+++ b/dev-ruby/rgen/rgen-0.8.3.ebuild
@@ -23,6 +23,10 @@ ruby_add_bdepend "doc? ( >=dev-ruby/rdoc-4.2.0 )
test? ( >=dev-ruby/minitest-5.10:5 >=dev-ruby/nokogiri-1.6.8.1 )
"
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}
+
each_ruby_prepare() {
case ${RUBY} in
*ruby24|*ruby25)