Skip to content
This repository
Browse code

Removed the bulk of the deprecations by simply not calling refresh.

This may cause problems. I dunno.
The real solution is to get rid of all of this mess and use gem paths properly.
  • Loading branch information...
commit 3ad5fd18792ffe8fca18b465256d49e1e81452e2 1 parent 4c37257
Ryan Davis authored May 12, 2011
2  railties/lib/rails/vendor_gem_source_index.rb
@@ -31,7 +31,7 @@ def initialize(installed_index, vendor_dir=Rails::GemDependency.unpacked_path)
31 31
 
32 32
     def refresh!
33 33
       # reload the installed gems
34  
-      @installed_source_index.refresh!
  34
+      # HACK: I don't think this is needed: @installed_source_index.refresh!
35 35
       vendor_gems = {}
36 36
 
37 37
       # handle vendor Rails gems - they are identified by having loaded_from set to ""

0 notes on commit 3ad5fd1

Please sign in to comment.
Something went wrong with that request. Please try again.