summaryrefslogtreecommitdiff
path: root/lib/tasks/database.rake
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-17 07:41:27 -0600
committermo khan <mo@mokhan.ca>2014-05-17 07:41:27 -0600
commitfc07c04e1486319f7d26781afa559ac44953c8b3 (patch)
tree9c021a52dc9e0c946a9fb3accfcfd26487f5a429 /lib/tasks/database.rake
parentea5e62d241394fbba2c22a54f69b3d4e6ad92f89 (diff)
use bundle exec in db backup tasks.
Diffstat (limited to 'lib/tasks/database.rake')
-rw-r--r--lib/tasks/database.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/database.rake b/lib/tasks/database.rake
index f61e56f7..12aefe68 100644
--- a/lib/tasks/database.rake
+++ b/lib/tasks/database.rake
@@ -8,10 +8,10 @@ namespace :db do
end
task :backup do
- sh "cap #{ENV['RAILS_ENV']} postgresql:backup"
+ sh "bundle exec cap #{ENV['RAILS_ENV']} postgresql:backup"
end
task :restore_to_staging => :backup do
- sh "cap staging postgresql:restore"
+ sh "bundle exec cap staging postgresql:restore"
end
end