diff options
Diffstat (limited to 'lib/bundler/resolver')
-rw-r--r-- | lib/bundler/resolver/spec_group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/resolver/spec_group.rb b/lib/bundler/resolver/spec_group.rb index 1c016fc55d..4e5b0082d3 100644 --- a/lib/bundler/resolver/spec_group.rb +++ b/lib/bundler/resolver/spec_group.rb @@ -105,7 +105,7 @@ module Bundler end def metadata_dependency(name, requirement, platform) - return if requirement.none? + return if requirement.nil? || requirement.none? DepProxy.get_proxy(Dependency.new("#{name}\0", requirement), platform) end |