aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index b324893..df33c1e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -79,7 +79,7 @@ sudo su -c "psql" postgres <<< \
ynh_psql_create_db_without_password "$app"
# Download all Ruby source
-su - mastodon
+sudo su - mastodon
sudo git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv
sudo git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build
sudo git clone https://github.com/tootsuite/mastodon.git $final_path/live