mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (process_options): revert r30549.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d3a253e02
commit
8561ae195f
3 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
require 'rubygems.rb' if defined?(Gem)
|
2
ruby.c
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);
|
||||
|
|
Loading…
Reference in a new issue