summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 42f6607860..9719b94521 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -129,7 +129,7 @@ module Bundler
def generate_bundler_executable_stubs(spec, options = {})
if spec.executables.empty?
options = {}
- spec.dependencies.each do |dep|
+ spec.runtime_dependencies.each do |dep|
bins = Bundler.definition.specs[dep].first.executables
options[dep.name] = bins unless bins.empty?
end