[macruby-changes] [2793] MacRuby/trunk/lib/rubygems/source_index.rb

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 13 22:12:51 PDT 2009


Revision: 2793
          http://trac.macosforge.org/projects/ruby/changeset/2793
Author:   lsansonetti at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091013/8d68565d/attachment.html>


More information about the macruby-changes mailing list