source profile before update

This commit is contained in:
vhsdream 2026-02-15 16:00:59 -05:00
parent 1a14c6fdc0
commit 9c114c1c30

View File

@ -38,6 +38,7 @@ function update_script() {
RUBY_VERSION="$(cat /opt/sure/.ruby-version)" RUBY_INSTALL_RAILS=false setup_ruby
msg_info "Updating Sure"
source ~/.profile
cd /opt/sure
export RAILS_ENV=production
export BUNDLE_DEPLOYMENT=1