Add compatibility between puma and RMV1
Puma was adding commands to `rvm_map_bins`, which meant RMV1 wasn't using the default value of `rvm1_map_bins`. Changing the order we use to require `rmv1/capistrano3` and `capistrano/puma` did not fix the issue.
This commit is contained in:
@@ -8,6 +8,7 @@ end
|
||||
|
||||
set :rails_env, fetch(:stage)
|
||||
set :rvm1_ruby_version, "2.3.2"
|
||||
set :rvm1_map_bins, -> { fetch(:rvm_map_bins).to_a.concat(%w[rake gem bundle ruby]).uniq }
|
||||
|
||||
set :application, "consul"
|
||||
set :full_app_name, deploysecret(:full_app_name)
|
||||
|
||||
Reference in New Issue
Block a user