mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* ruby.c (process_options): autoload rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2ec4b694cb
commit
ca6a75cd38
3 changed files with 4 additions and 3 deletions
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_define_module("Gem");
|
||||
rb_autoload(rb_cObject, rb_intern("Gem"), "rubygems");
|
||||
}
|
||||
ruby_init_prelude();
|
||||
ruby_set_argv(argc, argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue