Conversation
|
+1 |
There was a problem hiding this comment.
also you need hook rvm (if you use one):
set :rvm_map_bins, fetch(:rvm_map_bins, []).push('unicorn')
or if rbenv:
set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w(unicorn))
There was a problem hiding this comment.
Or rbenv for that matter, but people who will use those implementations, will probably know the implication of the usage.
There was a problem hiding this comment.
no I didn't knew... I needed to read how sidekiq capistrano tasks was implemented.
There was a problem hiding this comment.
set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w(unicorn))
is incorrect, or at least cumbersome.
this is more concise:
set :rbenv_map_bins, fetch(:rbenv_map_bins, []).push('unicorn')There was a problem hiding this comment.
but it work's: set :rvm_map_bins, fetch(:rvm_map_bins).to_a.concat(%w(unicorn)) or set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w(unicorn)) or for : chruby_map_bins or for bundle_bins
This change makes using bundler optional
More on this here: https://github.com/capistrano/bundler#usage