diff options
-rw-r--r-- | dev-ruby/backports/backports-3.8.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ruby/backports/backports-3.8.0.ebuild b/dev-ruby/backports/backports-3.8.0.ebuild index 1b96cbcd1138..28948e558d5c 100644 --- a/dev-ruby/backports/backports-3.8.0.ebuild +++ b/dev-ruby/backports/backports-3.8.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23" +USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_TASK_TEST="test" @@ -16,4 +16,8 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -ruby_add_bdepend "test? ( dev-ruby/rails )" +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die +} |