aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-02-14 16:48:08 +0000
committerLouise Crow <louise.crow@gmail.com>2013-02-14 16:48:08 +0000
commitd48bfd58f6ff26b2a34aa8d71d9d691f9fbc10e2 (patch)
treec026e8e6639f7f9ceed92b75fb8ed657c566d788 /script/rails-post-deploy
parentf8cf582f8c7461bfd680aac9c87cb5377c39c30c (diff)
parent0747a2d66f65fd22d8ea275d9df29a7981a46d07 (diff)
Merge branch 'release/0.7' into wdtk
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"