summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-17 11:32:57 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-17 11:36:04 +0200
commit1883992fcb4caa21b92a6f970127ef5de9051426 (patch)
treef3fb542aa3beb7d820c15826b95270ce0823359a
parentdev-ml/ppx_optcomp: revbump for propagating previous fix (diff)
downloadgentoo-1883992fcb4caa21b92a6f970127ef5de9051426.tar.gz
gentoo-1883992fcb4caa21b92a6f970127ef5de9051426.tar.bz2
gentoo-1883992fcb4caa21b92a6f970127ef5de9051426.zip
dev-ruby/camping: fix running tests
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-ruby/camping/camping-2.1.532.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-ruby/camping/camping-2.1.532.ebuild b/dev-ruby/camping/camping-2.1.532.ebuild
index dac1932d88b8..b74e63751503 100644
--- a/dev-ruby/camping/camping-2.1.532.ebuild
+++ b/dev-ruby/camping/camping-2.1.532.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
@@ -28,5 +28,5 @@ all_ruby_prepare() {
}
each_ruby_test() {
- ${RUBY} -S testrb test/app_*.rb || die
+ ${RUBY} -Ilib:test:. -e 'Dir["test/app_*.rb"].each{|f| require f}' || die
}