diff --git a/scripts/install b/scripts/install index 9c56a71..85a802b 100755 --- a/scripts/install +++ b/scripts/install @@ -143,10 +143,10 @@ pushd $final_path bundle config set --local deployment 'true' bundle config set --local without 'development test' bundle install - bundle exec rake db:create RAILS_ENV=production - bundle exec rake db:migrate RAILS_ENV=production - bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=$admin SEED_PASSWORD=$password - bundle exec rake assets:precompile RAILS_ENV=production + ynh_exec_warn_less bundle exec rake db:create RAILS_ENV=production + ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production + ynh_exec_warn_less bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=$admin SEED_PASSWORD=$password + ynh_exec_warn_less bundle exec rake assets:precompile RAILS_ENV=production popd ynh_install_app_dependencies $pkg_dependencies diff --git a/scripts/restore b/scripts/restore index 6bd5e4d..5ec401c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -102,9 +102,9 @@ pushd $final_path ynh_gem update --system --no-document ynh_gem install rake bundler foreman --no-document bundle config set --local deployment 'true' - bundle config set --local without 'development test' - bundle install - bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production + ynh_exec_warn_less bundle config set --local without 'development test' + ynh_exec_warn_less bundle install + ynh_exec_warn_less bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production popd ynh_install_app_dependencies $pkg_dependencies diff --git a/scripts/upgrade b/scripts/upgrade index 6519f4a..a4b3044 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,8 +139,8 @@ pushd $final_path bundle config set --local deployment 'true' bundle config set --local without 'development test' bundle install - bundle exec rake db:migrate RAILS_ENV=production - bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production + ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production + ynh_exec_warn_less bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production popd ynh_install_app_dependencies $pkg_dependencies