configures up to date capistrano rvm gem

This commit is contained in:
rgarcia
2016-11-20 16:15:30 +01:00
parent b4a39e85ec
commit a1095089af
4 changed files with 14 additions and 12 deletions

View File

@@ -53,6 +53,8 @@ namespace :deploy do
# before :deploy, "deploy:check_revision"
# Run test aund continue only if passed
# before :deploy, "deploy:run_tests"
before :starting, 'rvm1:install:rvm' # install/update RVM
before :starting, 'rvm1:install:ruby' # install Ruby and create gemset
# Custom compile and rsync of assets - works, but it is very slow
#after 'deploy:symlink:shared', 'deploy:compile_assets_locally'
@@ -62,4 +64,4 @@ namespace :deploy do
after 'deploy:publishing', 'deploy:restart'
# Restart Delayed Jobs
after 'deploy:published', 'delayed_job:restart'
end
end