1
0
Fork 0
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:
Développeur égaré 2015-06-09 11:21:43 +02:00
parent d9e515e7bd
commit a950d3532e

View file

@ -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"
# 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 assets:precompile"