source profile before update
This commit is contained in:
parent
1a14c6fdc0
commit
9c114c1c30
@ -38,6 +38,7 @@ function update_script() {
|
|||||||
RUBY_VERSION="$(cat /opt/sure/.ruby-version)" RUBY_INSTALL_RAILS=false setup_ruby
|
RUBY_VERSION="$(cat /opt/sure/.ruby-version)" RUBY_INSTALL_RAILS=false setup_ruby
|
||||||
|
|
||||||
msg_info "Updating Sure"
|
msg_info "Updating Sure"
|
||||||
|
source ~/.profile
|
||||||
cd /opt/sure
|
cd /opt/sure
|
||||||
export RAILS_ENV=production
|
export RAILS_ENV=production
|
||||||
export BUNDLE_DEPLOYMENT=1
|
export BUNDLE_DEPLOYMENT=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user