From: Ryan Davis Date: 2011-01-05T14:48:19+09:00 Subject: [ruby-core:34079] Re: proposal: gem_prelude needs to die On Jan 4, 2011, at 20:10 , Tanaka Akira wrote: > 2011/1/4 Ryan Davis : > >> I'd like to drop gem_prelude down to 'require "rubygems"'. If you want, we can profile this against normal and pathological gem setups first. > > I replaced trunk gem_prelude.rb as follows. > > % cat gem_prelude.rb > require 'rubygems' > > Then make fails. > > % make > ... > Generating RDoc documentation > /home/akr/ruby/g/new2/ruby/lib/rubygems.rb:12:in `': > uninitialized constant Gem::QuickLoader (NameError) > from :1:in `require' > from :1:in `' > make: *** [rdoc] Error 1 Huh... It builds for me on r30453. Ah. no it doesn't... just if I do `make ruby19`. I can't comment (well) on that error yet. rubygems in trunk is 1.3.7 + 1763 lines of diff and I haven't finished reviewing / merging the changes back into our repo. It is probably some of this code (rubygems.rb): > unless gem_disabled > # Nuke the Quickloader stuff > Gem::QuickLoader.remove > end Or something similar. Which doesn't exist in rubygems 1.3.7, only in trunk 1.3.7.