From 9fca4d660864aad2350db89c290d8811ac845ed6 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 3 Feb 2020 10:30:39 +0100 Subject: [PATCH] Suite --- config/deploy.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index cfe0c6c..589109c 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -42,8 +42,9 @@ default_run_options[:pty] = true require "rvm/capistrano" require 'bundler/capistrano' +require "whenever/capistrano" - +set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" } load 'deploy/assets' @@ -82,7 +83,7 @@ namespace :deploy do sudo "sudo systemctl enable quartz_app@#{application}" - run "cd #{current_path}; bundle exec whenever --update-crontab" + #run "cd #{current_path}; bundle exec whenever --update-crontab"