aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install
index 8e505e7..81ce213 100644
--- a/scripts/install
+++ b/scripts/install
@@ -170,14 +170,14 @@ eval \"\$(rbenv init -)\"" > $final_path/.profile
# Install ruby-build
(
- exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.0
- exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.0
- exec_as "$app" $final_path/.rbenv/versions/2.5.0/bin/ruby -v
+ exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.1
+ exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.1
+ exec_as "$app" $final_path/.rbenv/versions/2.5.1/bin/ruby -v
)
# Create symlink for ruby
rm /usr/bin/ruby || true
-ln -s $final_path/.rbenv/versions/2.5.0/bin/ruby /usr/bin/ruby || true
+ln -s $final_path/.rbenv/versions/2.5.1/bin/ruby /usr/bin/ruby || true
# Adjust Mastodon config
# TODO: use official helper ynh_replace_string
@@ -214,7 +214,7 @@ sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "${fin
(
cd "$final_path/live"
su mastodon <<INSTALL
-$final_path/.rbenv/versions/2.5.0/bin/gem install bundler
+$final_path/.rbenv/versions/2.5.1/bin/gem install bundler
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet
yarn install --production --no-progress --non-interactive --silent