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

Fix deprecated arguments

This commit is contained in:
yalh76 2022-03-26 14:03:44 +01:00
parent 8505f983b9
commit 9d3b6c8dd8
3 changed files with 9 additions and 3 deletions

View file

@ -140,7 +140,9 @@ pushd $final_path
chown -R $app:www-data "$final_path/config/unicorn.rb"
ynh_gem update --system --no-document
ynh_gem install rake bundler foreman --no-document
bundle install --deployment --without development test
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

View file

@ -101,7 +101,9 @@ pushd $final_path
ynh_use_ruby
ynh_gem update --system --no-document
ynh_gem install rake bundler foreman --no-document
bundle install --deployment --without development test
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
popd

View file

@ -136,7 +136,9 @@ pushd $final_path
chown -R $app:www-data "$final_path/config/unicorn.rb"
ynh_gem update --system --no-document
ynh_gem install rake bundler foreman --no-document
bundle install --deployment --without development test
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
popd