diff options
author | Matijs van Zuijlen <matijs@matijs.net> | 2014-04-20 11:19:52 +0200 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-07-17 22:32:50 -0700 |
commit | b4a39e8cc408aca7669bdb7bd86600df4ae47122 (patch) | |
tree | 7a651255d5a281ee30ed442d85ac49d21c04119f /lib/bundler | |
parent | 70c4ecd9d90286278fa10ed34a93a486699b277c (diff) | |
download | bundler-b4a39e8cc408aca7669bdb7bd86600df4ae47122.tar.gz |
Skip non-local dependencies more rigourously
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/definition.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index d843c00b..527c021d 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -580,6 +580,7 @@ module Bundler deps = [] dependencies.each do |dep| dep = Dependency.new(dep, ">= 0") unless dep.respond_to?(:name) + next unless remote || dep.current_platform? dep.gem_platforms(@platforms).each do |p| deps << DepProxy.new(dep, p) if remote || p == generic(Gem::Platform.local) end |