Permalink
Browse files

Don't rely on Active Support being loaded here

  • Loading branch information...
1 parent f175d19 commit c0137f62d438d9112b84a69c857551566786d7a8 @jeremy jeremy committed Mar 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/vendor_gem_source_index.rb
@@ -37,7 +37,7 @@ def refresh!
# handle vendor Rails gems - they are identified by having loaded_from set to ""
# we add them manually to the list, so that other gems can find them via dependencies
Gem.loaded_specs.each do |n, s|
- next if s.loaded_from.present?
+ next unless s.loaded_from.to_s.empty?
vendor_gems[s.full_name] = s
end

0 comments on commit c0137f6

Please sign in to comment.