aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-21 02:58:33 +0100
committeryalh76 <yalh@yahoo.com>2019-03-21 02:58:33 +0100
commit4e59d8298f7e916dfd3d5a9592e840a3fcc4db34 (patch)
tree0fe404b3bb305e1b4cbd85e63cabf105acb3fed2 /scripts/install
parent9a80610241c32ce3695381545d155b99f2c84b1d (diff)
downloadmastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.tar.gz
mastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.tar.bz2
mastodon_ynh-4e59d8298f7e916dfd3d5a9592e840a3fcc4db34.zip
Fix install and upgrade steps
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index daa545b..ed48f01 100644
--- a/scripts/install
+++ b/scripts/install
@@ -103,9 +103,6 @@ ynh_install_nodejs 8
# TODO: use the same mecanism with other files
ynh_install_app_dependencies $pkg_dependencies
-# install ruby
-ynh_install_ruby --ruby_version=2.6.0
-
#=================================================
# CREATE A POSTGRESQL DATABASE
#=================================================
@@ -158,6 +155,12 @@ ynh_system_user_create $app $final_path
#=================================================
# SPECIFIC SETUP
#=================================================
+# INSTALLING RUBY
+#=================================================
+
+ynh_install_ruby --ruby_version=2.6.0
+
+#=================================================
# MODIFY A CONFIG FILE
#=================================================