From 78c55bf1f43b80e1c2c31b69110f4a31105639fe Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 15 Jan 2013 18:04:55 +0000 Subject: 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. --- script/rails-post-deploy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'script/rails-post-deploy') 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" -- cgit v1.2.3