summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-15 00:48:16 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-15 00:48:16 (GMT)
commit7350562e5ea1246032f88cf008b8f0434e375da5 (patch)
tree3ed859bd2cace377389b467096dd256d2d36cc6e /gem_prelude.rb
parentfea355647eb8420d26d961b8a2ab1540fba0ec79 (diff)
* ruby.c (ruby_init_prelude): get rid of global namespace
pullution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gem_prelude.rb')
-rw-r--r--gem_prelude.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gem_prelude.rb b/gem_prelude.rb
index c96514a..3d4516f 100644
--- a/gem_prelude.rb
+++ b/gem_prelude.rb
@@ -1 +1 @@
-require 'rubygems' unless $disable_rubygems
+require 'rubygems.rb' if defined?(Gem)