aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-xscript/rails-post-deploy5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index abc7fab41..a1c613312 100755
--- a/script/rails-post-deploy
+++ b/script/rails-post-deploy
@@ -76,7 +76,10 @@ if [ "$OPTION_STAGING_SITE" = "0" ]
then
bundle_install_options="--without development:test --deployment"
fi
-
+if [ "$OPTION_STAGING_SITE" = "1" ]
+then
+ bundle_install_options="--path vendor/bundle"
+fi
if [ "$TRAVIS" = "true" ]
then
bundle_install_options="--without development develop --deployment"