1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Update ynh_install_ruby__2

This commit is contained in:
yalh76 2021-03-22 20:54:09 +01:00
parent 2c6c2c02a1
commit b01227d326

View file

@ -50,7 +50,7 @@ export RBENV_ROOT="$rbenv_install_dir"
# #
# usage: ynh_use_ruby # usage: ynh_use_ruby
# #
# Requires YunoHost version 2.7.12 or higher. # Requires YunoHost version 3.2.2 or higher.
ynh_use_ruby () { ynh_use_ruby () {
ruby_version=$(ynh_app_setting_get --app=$app --key=ruby_version) ruby_version=$(ynh_app_setting_get --app=$app --key=ruby_version)
@ -95,7 +95,7 @@ ynh_use_ruby () {
# usage: ynh_install_ruby --ruby_version=ruby_version # usage: ynh_install_ruby --ruby_version=ruby_version
# | arg: -v, --ruby_version= - Version of ruby to install. # | arg: -v, --ruby_version= - Version of ruby to install.
# #
# Requires YunoHost version 2.7.12 or higher. # Requires YunoHost version 3.2.2 or higher.
ynh_install_ruby () { ynh_install_ruby () {
# Declare an array to define the options of this helper. # Declare an array to define the options of this helper.
local legacy_args=v local legacy_args=v