mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
040ffb5d79
* common.mk: generate ext_prelude.c by prelude.rb and gem_prelude.rb. ruby (not miniruby) is linked with ext_prelude.o instead of prelude.o. * inits.c (rb_call_inits): don't call Init_prelude. * ruby.c: support --disable-gems option. (ruby_init_gems): new function to define Gem::Enable and invoke Init_prelude. (process_options): call ruby_init_gems just after ruby_init_loadpath. * tool/compile_prelude.rb: support multiple files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10 lines
268 B
Ruby
10 lines
268 B
Ruby
# empty gem_prelude.rb
|
|
#
|
|
# p Gem::Enable
|
|
# p RbConfig::CONFIG["arch"]
|
|
# p RbConfig::CONFIG["bindir"]
|
|
# p RbConfig::CONFIG["datadir"]
|
|
# p RbConfig::CONFIG["sitedir"]
|
|
# p RbConfig::CONFIG["sitelibdir"]
|
|
# p RbConfig::CONFIG["EXEEXT"]
|
|
# p RbConfig::CONFIG["RUBY_SO_NAME"]
|