From dd867100d01ac9afee2b6922eab2cc5253aeab93 Mon Sep 17 00:00:00 2001 From: anmol Date: Tue, 22 Jan 2019 12:13:13 +0530 Subject: Use of rbenv 2.6.0 --- scripts/install | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index 42d046a..54635e9 100644 --- a/scripts/install +++ b/scripts/install @@ -207,13 +207,14 @@ chown -R "$app": "$final_path" cd "$final_path/live" su mastodon <> .env.production - RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet - RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet + RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/bundle exec rails db:migrate --quiet + RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/bundle exec rails assets:precompile --quiet INSTALL ) @@ -234,13 +235,13 @@ systemctl start "$app-web.service" "$app-sidekiq.service" "$app-streaming.servic ( cd "$final_path/live" su mastodon <