diff options
Diffstat (limited to 'script/rails-deploy-before-down')
-rwxr-xr-x | script/rails-deploy-before-down | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/script/rails-deploy-before-down b/script/rails-deploy-before-down index c157a8624..a5f0d7af0 100755 --- a/script/rails-deploy-before-down +++ b/script/rails-deploy-before-down @@ -135,13 +135,18 @@ 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 |