diff options
| author | anmol <github@datamol.org> | 2019-01-09 16:11:49 +0530 |
|---|---|---|
| committer | anmol <github@datamol.org> | 2019-01-09 16:11:49 +0530 |
| commit | 047dbcf208fee3486ccd451c21929c9bdff9c3ff (patch) | |
| tree | ff4d9aaa962ef77b47b7dc266d54c421e17911c5 /scripts | |
| parent | 04f41b9cb2ab1f1820abd340f30344615a3dd812 (diff) | |
| download | mastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.tar.gz mastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.tar.bz2 mastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.zip | |
Fix
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install index 0789620..ab44f3a 100644 --- a/scripts/install +++ b/scripts/install @@ -211,9 +211,11 @@ chown -R "$app": "$final_path" ( cd "$final_path/live" su mastodon <<INSTALL - $final_path/.rbenv/versions/2.5.3/bin/gem install bundler - $final_path/.rbenv/versions/2.5.3/bin/bundle install --deployment --force --without development test - yarn install --production --no-progress --non-interactive --silent + $final_path/.rbenv/versions/2.5.3/bin/gem install bundler --no-ri --no-rdoc + $final_path/live/bin/bundle install \ + -j$(getconf _NPROCESSORS_ONLN) \ + --deployment --without development test + yarn install --pure-lockfile echo "SAFETY_ASSURED=1">> .env.production RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet |
