Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 3ad5fd18792ffe8fca18b465256d49e1e81452e2 1 parent 4c37257
@zenspider zenspider authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/vendor_gem_source_index.rb
View
2  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 ""
Please sign in to comment.
Something went wrong with that request. Please try again.