diff options
Diffstat (limited to 'script/rails-deploy-before-down')
-rwxr-xr-x | script/rails-deploy-before-down | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/script/rails-deploy-before-down b/script/rails-deploy-before-down index c157a8624..42284b00d 100755 --- a/script/rails-deploy-before-down +++ b/script/rails-deploy-before-down @@ -129,19 +129,24 @@ bundle_install_options="--path $BUNDLE_PATH" if [ "$OPTION_STAGING_SITE" = "0" ] then - bundle_install_options="$bundle_install_options --without development:test --deployment" + bundle_install_options="$bundle_install_options --without development debug test --deployment" fi if [ "$OPTION_STAGING_SITE" = "1" ] then bundle_install_options="$bundle_install_options" fi + +# Use script/wad to install bundle when on Travis if [ "$TRAVIS" = "true" ] then - bundle_install_options="--without development develop --deployment" + script/wad fi -echo "Running bundle install with options: $bundle_install_options" -bundle install $bundle_install_options +if [ ! "$TRAVIS" = "true" ] +then + echo "Running bundle install with options: $bundle_install_options" + bundle install $bundle_install_options +fi bundle exec rake submodules:check |