summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/spec_set.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index 08f523312c..4882f7b38a 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -101,6 +101,8 @@ module Bundler
end
def incomplete_ruby_specs?(deps)
+ return false if @specs.empty?
+
self.for(deps, true, [Gem::Platform::RUBY])
@incomplete_specs.any?