aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-04-17 11:56:14 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-04-17 11:56:14 +0100
commita55cb26013e20459323c19af81316e331ae62842 (patch)
tree3f4c4220bf49140c1047d2e831cd4cb4dfbe41e7 /script/rails-post-deploy
parent46a84b14bbee61ae7699f9dddd420b978222ff2b (diff)
Update scripts and documentation to use `bundle exec` where appropriate
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-xscript/rails-post-deploy6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index 6e2c88d28..5b9bd8014 100755
--- a/script/rails-post-deploy
+++ b/script/rails-post-deploy
@@ -76,9 +76,9 @@ fi
if [ "$OPTION_STAGING_SITE" = "0" ]
then
- bundle install --without development:test --deployment
+ bundle exec bundle install --without development:test --deployment --binstubs
else
- bundle install
+ bundle exec bundle install --binstubs
fi
if [ -n "$OPTION_THEME_URL" ]
@@ -87,6 +87,6 @@ then
fi
# upgrade database
-rake db:migrate #--trace
+bundle exec rake db:migrate #--trace