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:
Javi Martín
2019-10-12 15:05:55 +02:00
parent b36e659f4e
commit 3b79a1a3db

View File

@@ -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)