ruby-changes:18558
From: nobu <ko1@a...>
Date: Mon, 17 Jan 2011 21:40:48 +0900 (JST)
Subject: [ruby-changes:18558] Ruby:r30580 (trunk): * ruby.c (process_options): revert r30549.
nobu 2011-01-17 21:40:30 +0900 (Mon, 17 Jan 2011) New Revision: 30580 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30580 Log: * ruby.c (process_options): revert r30549. Modified files: trunk/ChangeLog trunk/gem_prelude.rb trunk/ruby.c Index: ChangeLog =================================================================== --- ChangeLog (revision 30579) +++ ChangeLog (revision 30580) @@ -1,3 +1,7 @@ +Mon Jan 17 21:40:25 2011 Nobuyoshi Nakada <nobu@r...> + + * ruby.c (process_options): revert r30549. + Sun Jan 16 20:55:45 2011 Tanaka Akira <akr@f...> * vsnprintf.c: parenthesize macro arguments. Index: gem_prelude.rb =================================================================== --- gem_prelude.rb (revision 30579) +++ gem_prelude.rb (revision 30580) @@ -0,0 +1 @@ +require 'rubygems.rb' if defined?(Gem) Index: ruby.c =================================================================== --- ruby.c (revision 30579) +++ ruby.c (revision 30580) @@ -1365,7 +1365,7 @@ } } 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/