aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-01-15 18:04:55 +0000
committerLouise Crow <louise.crow@gmail.com>2013-01-15 18:04:55 +0000
commit78c55bf1f43b80e1c2c31b69110f4a31105639fe (patch)
treefd03a2daad42b8cce73f8be0c97d876762da4450
parent8e5914a2ea0a4523173d6c5015bdb904594b4fff (diff)
Even in development, bundle should be installed in the vendor directory. Fixes #730. Capistrano-based deploys don't use rails-post-deploy, so I don't think this will be a problem for them.
-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"