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 #================================================= @@ -157,6 +154,12 @@ ynh_system_user_create $app $final_path #================================================= # SPECIFIC SETUP +#================================================= +# INSTALLING RUBY +#================================================= + +ynh_install_ruby --ruby_version=2.6.0 + #================================================= # MODIFY A CONFIG FILE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8f98166..859b0fb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -138,9 +138,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 DEDICATED USER #================================================= @@ -151,6 +148,12 @@ ynh_system_user_create $app #================================================= # SPECIFIC UPGRADE +#================================================= +# INSTALLING RUBY +#================================================= + +ynh_install_ruby --ruby_version=2.6.0 + #================================================= # UPGRADE MASTODON #=================================================