[2793] MacRuby/trunk/lib/rubygems/source_index.rb
Revision: 2793 http://trac.macosforge.org/projects/ruby/changeset/2793 Author: lsansonetti@apple.com Date: 2009-10-13 22:12:50 -0700 (Tue, 13 Oct 2009) Log Message: ----------- remove hack now that #autoload is working Modified Paths: -------------- MacRuby/trunk/lib/rubygems/source_index.rb Modified: MacRuby/trunk/lib/rubygems/source_index.rb =================================================================== --- MacRuby/trunk/lib/rubygems/source_index.rb 2009-10-14 05:12:15 UTC (rev 2792) +++ MacRuby/trunk/lib/rubygems/source_index.rb 2009-10-14 05:12:50 UTC (rev 2793) @@ -7,11 +7,9 @@ require 'rubygems' require 'rubygems/user_interaction' require 'rubygems/specification' -# MacRuby doesn't support autoload yet. -#module Gem -# autoload(:SpecFetcher, 'rubygems/spec_fetcher') -#end -require 'rubygems/spec_fetcher' +module Gem + autoload(:SpecFetcher, 'rubygems/spec_fetcher') +end ## # The SourceIndex object indexes all the gems available from a
participants (1)
-
source_changes@macosforge.org