1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #125 from yalh76/develop

Fix installation issue "Could not find 'bundler' (1.16.6)"
This commit is contained in:
anmol26s 2019-01-15 02:25:48 +05:30 committed by GitHub
commit 95745611d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,11 +206,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
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler:1.16.6 --no-ri --no-rdoc
$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