1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/gem_prelude.rb
akr 040ffb5d79 * gem_prelude.rb: new file for gem libraries. currently empty.
* 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
2007-11-10 09:22:59 +00:00

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"]