diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-01-15 18:04:55 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-01-15 18:04:55 +0000 |
commit | 78c55bf1f43b80e1c2c31b69110f4a31105639fe (patch) | |
tree | fd03a2daad42b8cce73f8be0c97d876762da4450 | |
parent | 8e5914a2ea0a4523173d6c5015bdb904594b4fff (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-x | script/rails-post-deploy | 5 |
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" |