Skip to content
Open
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
3 changes: 2 additions & 1 deletion lib/capistrano/tasks/bundler.cap
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ namespace :bundler do
DESC
task :map_bins do
fetch(:bundle_bins).each do |command|
SSHKit.config.command_map.prefix[command.to_sym].push("bundle exec")
prefix = SSHKit.config.command_map.prefix[command.to_sym]
prefix.push("bundle exec") unless prefix.include?("bundle exec")
end
end

Expand Down