Simplify syntax to execute RMV

We use `:rvm` just as we use `:rake` in other places.
This commit is contained in:
Javi Martín
2019-07-03 17:14:03 +02:00
parent 48dd4be851
commit 41d252bf10

View File

@@ -63,7 +63,7 @@ end
task :install_bundler_gem do task :install_bundler_gem do
on roles(:app) do on roles(:app) do
within release_path do within release_path do
execute "rvm use #{fetch(:rvm1_ruby_version)}; gem install bundler" execute :rvm, fetch(:rvm1_ruby_version), "do", "gem install bundler"
end end
end end
end end