summaryrefslogtreecommitdiff
path: root/lib/tasks/deployment.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/deployment.rake')
-rw-r--r--lib/tasks/deployment.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/deployment.rake b/lib/tasks/deployment.rake
index 16edad31..c3c2d3e0 100644
--- a/lib/tasks/deployment.rake
+++ b/lib/tasks/deployment.rake
@@ -1,13 +1,13 @@
namespace :deploy do
desc "deploy to staging server"
task :staging do
- sh "cap staging deploy:migrations"
+ sh "bundle exec cap staging deploy:migrations"
sh "curl https://staging.cakeside.com/ > /dev/null"
end
desc "deploy to production server"
task :production do
- sh "cap production deploy:migrations"
+ sh "bundle exec cap production deploy:migrations"
sh "curl https://www.cakeside.com/ > /dev/null"
end
end