aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoranmol <github@datamol.org>2019-01-07 17:04:14 +0530
committeranmol <github@datamol.org>2019-01-07 17:04:14 +0530
commit1e5720f85b8becf011241441d94663f4ede6aeb4 (patch)
treeada5bb248c7656a25dc3190803f29d804d095ee3 /scripts
parent2604054b963ff0d70f20f532cf4767fe2ae25f87 (diff)
downloadmastodon_ynh-1e5720f85b8becf011241441d94663f4ede6aeb4.tar.gz
mastodon_ynh-1e5720f85b8becf011241441d94663f4ede6aeb4.tar.bz2
mastodon_ynh-1e5720f85b8becf011241441d94663f4ede6aeb4.zip
Fix
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index 0789620..0d9bddd 100644
--- a/scripts/install
+++ b/scripts/install
@@ -212,7 +212,7 @@ 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
+ $final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet
yarn install --production --no-progress --non-interactive --silent
echo "SAFETY_ASSURED=1">> .env.production
RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet