aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/installer.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index d277a58f..d071cf4b 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -135,7 +135,8 @@ module Bundler
index = cache_source.specs.merge(index).freeze
end
- Index.from_installed_gems.merge(index)
+ index = Index.from_installed_gems.merge(index)
+ Index.from_cached_specs("#{Bundler.bundle_path}/cache").merge(index)
end
end