aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2016-08-31 11:17:19 +0200
committerAlban Peignier2016-08-31 11:17:31 +0200
commitd92f8e43efd679b5bc2847314d16c30ecd3cd3e5 (patch)
tree6ff9f7aec26fec01db6dc40fabd66ead29d7eef2
parentb554d044d04ae0a63b86ece48ddf57544dd6f4cd (diff)
downloadchouette-core-d92f8e43efd679b5bc2847314d16c30ecd3cd3e5.tar.bz2
Fixe quote position in :whenever_variables. Refs #1524
-rw-r--r--config/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 9171b51b4..dd8c10b7c 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -24,7 +24,7 @@ require "bundler/capistrano"
require 'whenever/capistrano'
# Whenever
-set :whenever_variables, ->{ "'environment=#{fetch :whenever_environment}&bundle_command=bin/bundle exec'&additionnal_path=/var/lib/gems/2.2.0/bin" } # invoke bin/bundle to use 'correct' ruby environment
+set :whenever_variables, ->{ "'environment=#{fetch :whenever_environment}&bundle_command=bin/bundle exec&additionnal_path=/var/lib/gems/2.2.0/bin'" } # invoke bin/bundle to use 'correct' ruby environment
set :whenever_command, "sudo /usr/local/sbin/whenever-sudo" # use sudo to change www-data crontab
set :whenever_user, "www-data" # use www-data crontab