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"