aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2018-02-09 21:46:25 +0100
committerLuc Donnet2018-02-09 21:46:25 +0100
commit970f57794a225ad053f51af009b0965ed1b1c4af (patch)
tree8cbcf52689cc5c0650792b205efb92da9d79633b
parent038ecf8c41dc11087b63fc9b569f795051aec9df (diff)
downloadchouette-core-970f57794a225ad053f51af009b0965ed1b1c4af.tar.bz2
Fix in deploy.rb task i18n_js_export to use release_path and not current path
-rw-r--r--config/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 3474f97cb..098a0233c 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -95,11 +95,11 @@ namespace :deploy do
desc "Run i18n:js:export"
task :i18n_js_export do
- run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} i18n:js:export"
+ run "cd #{release_path} && RAILS_ENV=#{rails_env} #{rake} i18n:js:export"
end
desc "Run db:seed"
task :seed do
- run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} db:seed"
+ run "cd #{release_path} && RAILS_ENV=#{rails_env} #{rake} db:seed"
end
end