diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-09 12:18:55 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-03-09 12:19:02 -0800 |
commit | 02fd9b9d4ca7a70465393fe949651e45ff226642 (patch) | |
tree | ab5bf847fdfb787d8af82e3459fb14f9d5fbaeeb /lib/bundler/installer.rb | |
parent | b5f28d641cb0b282196ff70305e4f5ea8b29a807 (diff) | |
download | bundler-02fd9b9d4ca7a70465393fe949651e45ff226642.tar.gz |
Don't fetch remote specs when running bundle install --without * multiple times with a locked Gemfile
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 3 |
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 |