aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2017-12-14 15:56:11 +0100
committerAlban Peignier2017-12-14 15:56:11 +0100
commit1141369eb6fdb3b58a802fdcc5fef2c2909473c6 (patch)
treeb7ca1ba40ef1122b30014cc404c421ed9daff93c
parent1eacdd594ec0079372c7e8d0c32d283e2a20a05c (diff)
downloadchouette-core-1141369eb6fdb3b58a802fdcc5fef2c2909473c6.tar.bz2
Use rake variable in deply:seed task
-rw-r--r--config/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index a8d44d3e5..33771507f 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -90,6 +90,6 @@ namespace :deploy do
desc "Run db:seed"
task :seed do
- run "cd #{current_path} && #{bundle_cmd} exec /var/lib/gems/2.2.0/bin/rake db:seed RAILS_ENV=#{rails_env}"
+ run "cd #{current_path} && #{rake} db:seed RAILS_ENV=#{rails_env}"
end
end