From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FF3713832E for ; Mon, 18 Jul 2016 06:49:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 156C6E0BA4; Mon, 18 Jul 2016 06:49:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91F02E0B8D for ; Mon, 18 Jul 2016 06:49:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D93B340928 for ; Mon, 18 Jul 2016 06:49:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B98962456 for ; Mon, 18 Jul 2016 06:49:00 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1468824485.7439b1fcf8af8ebaebb8b7bfa54652855621f3dc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sprockets-rails/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild X-VCS-Directories: dev-ruby/sprockets-rails/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7439b1fcf8af8ebaebb8b7bfa54652855621f3dc X-VCS-Branch: master Date: Mon, 18 Jul 2016 06:49:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d317df74-df18-486f-80ef-e189e123d39c X-Archives-Hash: 6a1bef695a298b1d262b279c9ddf6de8 commit: 7439b1fcf8af8ebaebb8b7bfa54652855621f3dc Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 18 05:51:48 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 18 06:48:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7439b1fc dev-ruby/sprockets-rails: fix tests with rack 2.0 installed Package-Manager: portage-2.2.28 dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild index 37ceaa2..b152f40 100644 --- a/dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild +++ b/dev-ruby/sprockets-rails/sprockets-rails-3.0.4.ebuild @@ -32,3 +32,8 @@ ruby_add_bdepend " >=dev-ruby/railties-4 dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Help load correct rack version consistently + sed -i -e "3irequire 'action_controller'" test/test_helper.rb || die +}