summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-27 06:41:09 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-27 06:41:09 +0100
commit56d535cff28c1d329bc9dc7f83bfce2c27e1829b (patch)
treefdd679d2ad1e6b07e66284042875fff85a3c0cf8 /dev-ruby
parentdev-ruby/rails: account for bundler slots (diff)
downloadgentoo-56d535cff28c1d329bc9dc7f83bfce2c27e1829b.tar.gz
gentoo-56d535cff28c1d329bc9dc7f83bfce2c27e1829b.tar.bz2
gentoo-56d535cff28c1d329bc9dc7f83bfce2c27e1829b.zip
dev-ruby/rubygems: fix rake invocation
We only need to use rake when we also run tests. This fixes a circular dependency between rake and rubygems that can now be avoided with FEATURES=-test. Closes: https://bugs.gentoo.org/703868 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rubygems/rubygems-3.1.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/rubygems/rubygems-3.1.2.ebuild b/dev-ruby/rubygems/rubygems-3.1.2.ebuild
index 4e5cd0605a14..090abfea7b7c 100644
--- a/dev-ruby/rubygems/rubygems-3.1.2.ebuild
+++ b/dev-ruby/rubygems/rubygems-3.1.2.ebuild
@@ -41,7 +41,9 @@ all_ruby_prepare() {
sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die
# Update manifest after changing files to avoid a test failure
- rake update_manifest || die
+ if use test; then
+ rake update_manifest || die
+ fi
}
each_ruby_compile() {