public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
include bugfix to [e792d4ab70448f79142fdf492390682ff5ea6398] for rubygems 1.0.1. 
 Gem::DependencyList#dependency_order was bombing with nil specs passed in from 
a frozen gem.  [#122]
rick (author)
Tue May 06 01:20:59 -0700 2008
commit  92e2e5990cc2aa4f699c286ac5d1f73e27ede548
tree    c9a5056d35b4ae9d985eb6990133bd2c5a47cb13
parent  0697d17d121fcf9f46b5dd2dd1034dffa19ebdf2
...
78
79
80
81
82
 
 
83
84
85
 
86
87
88
...
78
79
80
 
 
81
82
83
84
85
86
87
88
89
0
@@ -78,11 +78,12 @@ module Rails
0
     # a <tt>rails/init.rb</tt> file.
0
     class GemLocator < Locator
0
       def plugins
0
-        specs = initializer.configuration.gems.map(&:specification)
0
-        specs + Gem.loaded_specs.values.select do |spec|
0
+        specs  = initializer.configuration.gems.map(&:specification)
0
+        specs += Gem.loaded_specs.values.select do |spec|
0
           spec.loaded_from && # prune stubs
0
             File.exist?(File.join(spec.full_gem_path, "rails", "init.rb"))
0
         end
0
+        specs.compact!
0
 
0
         require "rubygems/dependency_list"
0
 

Comments