mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Use of rbenv 2.6.0
This commit is contained in:
parent
994c1f3c0b
commit
f281b053c8
1 changed files with 4 additions and 4 deletions
|
@ -206,9 +206,9 @@ chown -R "$app": "$final_path"
|
|||
(
|
||||
cd "$final_path/live"
|
||||
su mastodon <<INSTALL
|
||||
$final_path/.rbenv/versions/2.6.0/bin/gem install bundler:1.16.6
|
||||
$final_path/.rbenv/versions/2.6.0/bin/gem install bundler:1.16.6 --no-ri --no-rdoc
|
||||
$final_path/.rbenv/versions/2.6.0/bin/gem install bundler
|
||||
$final_path/.rbenv/versions/2.6.0/bin/bundle install bundler \
|
||||
$final_path/.rbenv/versions/2.6.0/bin/bundle install \
|
||||
-j$(getconf _NPROCESSORS_ONLN) \
|
||||
--deployment --without development test
|
||||
yarn install --pure-lockfile
|
||||
|
@ -240,8 +240,8 @@ account = Account.create!(username: '$admin_mastodon')
|
|||
user = User.create!(email: '$admin_mastodon_mail', password: '$admin_pass', account: account)
|
||||
CREATEUSER
|
||||
su mastodon <<SETADMIN
|
||||
RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/tootctl accounts modify $admin_mastodon --confirm
|
||||
RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/tootctl accounts modify $admin_mastodon --role admin
|
||||
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --confirm
|
||||
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --role admin
|
||||
SETADMIN
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue