summaryrefslogtreecommitdiff
path: root/lib/bundler/source_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source_list.rb')
-rw-r--r--lib/bundler/source_list.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb
index f7eb3a1c03..584d693dea 100644
--- a/lib/bundler/source_list.rb
+++ b/lib/bundler/source_list.rb
@@ -132,6 +132,10 @@ module Bundler
false
end
+ def local_only!
+ all_sources.each(&:local_only!)
+ end
+
def cached!
all_sources.each(&:cached!)
end