Permalink
Browse files

* ruby.c (process_options): revert r30549.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 1d3a253 commit 8561ae195fd8561a6b7f9f59276b1b4042de0d89 @nobu nobu committed Jan 17, 2011
Showing with 6 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +1 −0 gem_prelude.rb
  3. +1 −1 ruby.c
View
@@ -1,3 +1,7 @@
+Mon Jan 17 21:40:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ruby.c (process_options): revert r30549.
+
Sun Jan 16 20:55:45 2011 Tanaka Akira <akr@fsij.org>
* vsnprintf.c: parenthesize macro arguments.
View
@@ -0,0 +1 @@
+require 'rubygems.rb' if defined?(Gem)
View
2 ruby.c
@@ -1365,7 +1365,7 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
}
}
if (!(opt->disable & DISABLE_BIT(gems))) {
- rb_autoload(rb_cObject, rb_intern("Gem"), "rubygems");
+ rb_define_module("Gem");
}
ruby_init_prelude();
ruby_set_argv(argc, argv);

0 comments on commit 8561ae1

Please sign in to comment.