summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 01:52:53 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 01:52:53 (GMT)
commit294a1d2270e875c11b7f92176ac954c130d69a8a (patch)
tree0bf76c22501c9c7ac1e4059993bdb1aa116c10f8 /gem_prelude.rb
parent669d43780e16fd861b64dbf90d817fdeffa761fd (diff)
* ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined
instead of Gem::Enable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gem_prelude.rb')
-rw-r--r--gem_prelude.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gem_prelude.rb b/gem_prelude.rb
index 8be9051..ec9f1f4 100644
--- a/gem_prelude.rb
+++ b/gem_prelude.rb
@@ -2,9 +2,9 @@
# empty gem_prelude.rb
#
-# p Gem::Enable
+# p defined?(Gem)
-if defined?(Gem::Enable) && Gem::Enable then
+if defined?(Gem) then
module Kernel