summaryrefslogtreecommitdiff
path: root/test/rubygems
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-07 15:40:52 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-07 15:40:52 +0000
commitd1de97e0bcdb0f9b79cc3dbce843c4a8ac705443 (patch)
treea644169f4c19263702522f8c0ff2303d8014efe2 /test/rubygems
parentce9c95293757a211bf9dcdb45908a835e5080f7d (diff)
* gem_prelude.rb: provide workaround for gem activation. Currently,
gem activation does not work by default. Now it can be worked around by requiring "rubygems" first. [ruby-core:29486] a patch from Evan Phoenix in [ruby-core:31096]. * lib/rubygems.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_activation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_activation.rb b/test/rubygems/test_gem_activation.rb
index d0acc29052..2d1cd4832d 100644
--- a/test/rubygems/test_gem_activation.rb
+++ b/test/rubygems/test_gem_activation.rb
@@ -17,4 +17,4 @@ end}
/can't activate rubygems-bug-child.*already activated rubygems-bug-child-1\.1/, [],
bug3140)
end
-end if defined?(::Gem)
+end if defined?(::Gem) and RUBY_VERSION < "1.9"