mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix
This commit is contained in:
parent
2d8b197984
commit
f68fb1a2ef
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue