From 2aa1973b6aba1bdb32ae4837192c3bb36915c3bc Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 16 Jan 2026 16:58:12 +0100 Subject: [PATCH] source env for ruby --- install/dawarich-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/dawarich-install.sh b/install/dawarich-install.sh index ffc881294..e41a70d8b 100644 --- a/install/dawarich-install.sh +++ b/install/dawarich-install.sh @@ -71,12 +71,13 @@ source /root/.profile export PATH="/root/.rbenv/shims:/root/.rbenv/bin:$PATH" eval "$(/root/.rbenv/bin/rbenv init - bash)" +set -a && source /opt/dawarich/.env && set +a + $STD gem install bundler $STD bundle config set --local deployment 'true' $STD bundle config set --local without 'development test' $STD bundle install -SECRET_KEY_BASE_DUMMY=1 $STD bundle exec rake assets:precompile -set -a && source /opt/dawarich/.env && set +a +$STD bundle exec rake assets:precompile $STD bundle exec rails db:prepare $STD bundle exec rake data:migrate msg_ok "Installed Dawarich"