aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/spec_set.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-03-19 14:19:27 -0700
committerCarl Lerche <carllerche@mac.com>2010-03-19 14:19:27 -0700
commit5a8e2ea5a4f9911c556c0f039455a0376f767740 (patch)
treebe582698b78a63dafe93b0594c0a9e13a722fda3 /lib/bundler/spec_set.rb
parent154bec1a91005f3711068f2050f348379b600617 (diff)
downloadbundler-5a8e2ea5a4f9911c556c0f039455a0376f767740.tar.gz
Fix a bug where dependencies were not getting pulled in if the dependency type was invalid.
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r--lib/bundler/spec_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index 16764cd7..c0257242 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -36,7 +36,7 @@ module Bundler
return if specs[current.name]
specs[current.name] = true
current.dependencies.each do |dep|
- next unless dep.type == :runtime
+ next if dep.type == :development
append_subgraph(specs, lookup[dep.name])
end
end