diff options
| author | Luc Donnet | 2018-02-09 21:46:25 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-02-09 21:46:25 +0100 |
| commit | 970f57794a225ad053f51af009b0965ed1b1c4af (patch) | |
| tree | 8cbcf52689cc5c0650792b205efb92da9d79633b | |
| parent | 038ecf8c41dc11087b63fc9b569f795051aec9df (diff) | |
| download | chouette-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.rb | 4 |
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 |
