diff options
Diffstat (limited to 'scripts/install')
| -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 |
