Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Bundler 1.3.0.pre.6 bundle install crash due to lack of dependancies in some gems #2272

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/bundler/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def generate_bundler_executable_stubs(spec, options = {})
if spec.executables.empty?
options = {}
spec.dependencies.each do |dep|
bins = Bundler.definition.specs[dep].first.executables
options[dep.name] = bins unless bins.empty?
bins = Bundler.definition.specs[dep].first.executables unless Bundler.definition.specs[dep].empty?
options[dep.name] = bins unless bins.nil? || bins.empty?
end
if options.any?
Bundler.ui.warn "#{spec.name} has no executables, but you may want " +
Expand Down