summaryrefslogtreecommitdiffstats
path: root/gem_prelude.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix RubyGems for 1.9, r1780drbrain2008-06-171-55/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is definednobu2008-05-121-2/+2
| | | | | | | instead of Gem::Enable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (load_full_rubygems_library, const_missing): preventnobu2008-05-121-2/+8
| | | | | | | infinite recursion. [ruby-dev:34539] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems 1.1.0drbrain2008-03-311-161/+168
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems r1601. [ruby-core:15381].drbrain2008-02-101-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove methods from Gem, not QuickLoader, to fix warningsdrbrain2007-12-241-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use require to load rubygems.rb in gem_prelude.rb so the correct path is in ↵drbrain2007-12-231-5/+13
| | | | | | on RubyGems upgrade. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Place bin dir before lib dir so gem bin stubs work.drbrain2007-12-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems 1.0.0, r1575drbrain2007-12-201-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import fast-loading gem_prelude.rb from RubyGems.drbrain2007-11-251-7/+179
| | | | | | | Import RubyGems r1516. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb: new file for gem libraries. currently empty.akr2007-11-101-0/+10
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e