diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild b/dev-ruby/json/json-1.8.2-r1.ebuild index 09faec6ac8823..46c28d674ef73 100644 --- a/dev-ruby/json/json-1.8.2-r1.ebuild +++ b/dev-ruby/json/json-1.8.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -25,7 +25,8 @@ RDEPEND="${RDEPEND}" DEPEND="${DEPEND} dev-util/ragel" -ruby_add_bdepend "dev-ruby/rake" +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc )" all_ruby_prepare() { # Avoid building the extension twice! diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild index 99a81bc47e1a1..92d75b8141574 100644 --- a/dev-ruby/json/json-1.8.3.ebuild +++ b/dev-ruby/json/json-1.8.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -25,7 +25,8 @@ RDEPEND="${RDEPEND}" DEPEND="${DEPEND} dev-util/ragel" -ruby_add_bdepend "dev-ruby/rake" +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc )" all_ruby_prepare() { # Avoid building the extension twice!