mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Add retry to bundle install
In case of network mistake
This commit is contained in:
parent
d9e515e7bd
commit
a950d3532e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ sudo su - diaspora -c "env REALLY_GEM_UPDATE_SYSTEM=1 gem update --system --no-u
|
||||||
sudo su - diaspora -c "gem install bundler"
|
sudo su - diaspora -c "gem install bundler"
|
||||||
|
|
||||||
# construct diaspora app
|
# construct diaspora app
|
||||||
sudo su - diaspora -c "RAILS_ENV=production bundle install --without test development"
|
sudo su - diaspora -c "RAILS_ENV=production bundle install --without test development --retry 5"
|
||||||
sudo su - diaspora -c "RAILS_ENV=production bundle exec rake db:create db:schema:load"
|
sudo su - diaspora -c "RAILS_ENV=production bundle exec rake db:create db:schema:load"
|
||||||
sudo su - diaspora -c "RAILS_ENV=production bundle exec rake assets:precompile"
|
sudo su - diaspora -c "RAILS_ENV=production bundle exec rake assets:precompile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue