aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2018-02-09 20:22:37 +0100
committercedricnjanga2018-02-12 12:31:16 -0800
commit07d2b2c022ffbdf1c0b5bdc1b967a138bb822dc8 (patch)
tree4142e5a89f0ff1e9004296b08950c6f9b157a8d0
parent9a055f30ddb1624fdc16e454fd59be18e1b4fb1c (diff)
downloadchouette-core-07d2b2c022ffbdf1c0b5bdc1b967a138bb822dc8.tar.bz2
Fix in deploy.rb task i18n_js_export call
-rw-r--r--config/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 66342f21a..ad78e3188 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -99,11 +99,11 @@ namespace :deploy do
desc "Run i18n:js:export"
task :i18n_js_export do
- run "cd #{current_path} && #{rake} i18n:js:export RAILS_ENV=#{rails_env}"
+ run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} i18n:js:export"
end
desc "Run db:seed"
task :seed do
- run "cd #{current_path} && #{rake} db:seed RAILS_ENV=#{rails_env}"
+ run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} db:seed"
end
end