aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-05-16 11:35:11 +0200
committernemsia <nemsia@nemsia.org>2018-05-16 11:35:11 +0200
commit19795410a04a688b31067ce991877f503940e67e (patch)
treebeb83c87870932f0b737e91c5c6dc8374d03f78b
parent28cdf3a0c418ffebf388f7c1f695407469d47124 (diff)
downloadmastodon_ynh-19795410a04a688b31067ce991877f503940e67e.tar.gz
mastodon_ynh-19795410a04a688b31067ce991877f503940e67e.tar.bz2
mastodon_ynh-19795410a04a688b31067ce991877f503940e67e.zip
bundle 2.5.1
-rw-r--r--scripts/upgrade8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 9d7cc7c..34cff85 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -139,11 +139,11 @@ MCOMMANDS
(
sudo su - $app <<COMMANDS
pushd ~/live
-RAILS_ENV=production bundle exec rails assets:clean
-RAILS_ENV=production bundle exec rails assets:precompile
-RAILS_ENV=production bundle exec rails db:migrate
+RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:clean
+RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile
+RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails db:migrate
# Upgrade to 2.2.0
-RAILS_ENV=production bundle exec rails mastodon:maintenance:remove_regeneration_markers
+RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails mastodon:maintenance:remove_regeneration_markers
COMMANDS
)
#=================================================