diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-13 15:53:05 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-13 15:53:05 +0000 |
commit | 76b30ac28f4530d02c9867da0b22da370a20668d (patch) | |
tree | 3d4f1593ba4ef85745e828ef245acdfca9d2eff8 /test | |
parent | 40507a4946be37cc77b6c5abea9822f6c24a0df9 (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/branches/ruby_1_9_2@28634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_activation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_activation.rb b/test/rubygems/test_gem_activation.rb index dbbc3cba07..842eec1e53 100644 --- a/test/rubygems/test_gem_activation.rb +++ b/test/rubygems/test_gem_activation.rb @@ -18,4 +18,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" |