Browse files

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...
1 parent 4c37257 commit 3ad5fd18792ffe8fca18b465256d49e1e81452e2 @zenspider zenspider committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/vendor_gem_source_index.rb
@@ -31,7 +31,7 @@ def initialize(installed_index, vendor_dir=Rails::GemDependency.unpacked_path)
def refresh!
# reload the installed gems
- @installed_source_index.refresh!
+ # HACK: I don't think this is needed: @installed_source_index.refresh!
vendor_gems = {}
# handle vendor Rails gems - they are identified by having loaded_from set to ""

0 comments on commit 3ad5fd1

Please sign in to comment.