mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
66c127bc6f
commit
040ffb5d79
7 changed files with 103 additions and 14 deletions
10
gem_prelude.rb
Normal file
10
gem_prelude.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# 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"]
|
Loading…
Add table
Add a link
Reference in a new issue