aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoranmol <github@datamol.org>2019-01-09 17:24:30 +0530
committeranmol <github@datamol.org>2019-01-09 17:24:30 +0530
commitf68fb1a2ef01937a47d698fbca05fdfbf6905821 (patch)
treee8f6d68687508cf709f6719ac12f3f4ceb5e8f23 /scripts/install
parent2d8b197984513e0a1c8a5f45b4102fb2d2d44551 (diff)
downloadmastodon_ynh-f68fb1a2ef01937a47d698fbca05fdfbf6905821.tar.gz
mastodon_ynh-f68fb1a2ef01937a47d698fbca05fdfbf6905821.tar.bz2
mastodon_ynh-f68fb1a2ef01937a47d698fbca05fdfbf6905821.zip
Fix
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install
index ce098a9..62263db 100644
--- a/scripts/install
+++ b/scripts/install
@@ -207,9 +207,10 @@ chown -R "$app": "$final_path"
cd "$final_path/live"
su mastodon <<INSTALL
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler --no-ri --no-rdoc
- bundle install \
- -j$(getconf _NPROCESSORS_ONLN) \
+ $final_path/live/bin/bundle install \
+ -j$(getconf _NPROCESSORS_ONLN) \
--deployment --without development test
+ $final_path/live gem install bundler:1.16.6
yarn install --pure-lockfile
echo "SAFETY_ASSURED=1">> .env.production
RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet