From f7124a2ca3ce25fd028066af64e87ee5d60d3554 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 2 Jul 2015 02:36:23 +0000 Subject: fix redefinitions * test/rubygems/test_gem_resolver_git_specification.rb: require rubygems/installer.rb before Gem::TestCase#setup runs, otherwise as Gem::TestCase#teardown restores $LOADED_FEATURES to the state at that time, the requiring the file in GitSpecification#install method causes a lot of constant redefinitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_resolver_git_specification.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/rubygems') diff --git a/test/rubygems/test_gem_resolver_git_specification.rb b/test/rubygems/test_gem_resolver_git_specification.rb index a31674a218..7ab297923c 100644 --- a/test/rubygems/test_gem_resolver_git_specification.rb +++ b/test/rubygems/test_gem_resolver_git_specification.rb @@ -1,4 +1,5 @@ require 'rubygems/test_case' +require 'rubygems/installer' class TestGemResolverGitSpecification < Gem::TestCase -- cgit v1.2.3