From 123e37bf4a91f511b8970f3e378e1773f4f36a38 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Sun, 26 Jul 2026 18:54:47 +0200 Subject: [PATCH] Rearrange commands for Ruby dependency installation --- ct/mastodon.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/mastodon.sh b/ct/mastodon.sh index 94bfd48a7..4380b3d61 100644 --- a/ct/mastodon.sh +++ b/ct/mastodon.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source "$(dirname "${BASH_SOURCE[0]}")/../misc/build.func" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_URL:-https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}/misc/build.func") +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -41,10 +41,9 @@ function update_script() { sed -i "s/config.force_ssl = true/config.force_ssl = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/environments/production.rb sed -i "s/https = Rails.env.production? || ENV\['LOCAL_HTTPS'\] == 'true'/https = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/initializers/1_hosts.rb - export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" - cd /opt/mastodon - msg_info "Installing Ruby Dependencies" + cd /opt/mastodon + export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" $STD bundle config set --local without 'development test' $STD bundle config set --local deployment 'true' $STD bundle install -j"$(nproc)"