1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/huginn_ynh.git synced 2024-09-03 19:26:13 +02:00

Less warnings

This commit is contained in:
yalh76 2022-03-26 14:24:18 +01:00
parent 50575f0d42
commit d6876797f6
3 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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