aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-06 01:37:12 +0100
committeryalh76 <yalh@yahoo.com>2021-03-06 01:37:12 +0100
commit9d612530cae529c94281cc089f13e5cf8eb56719 (patch)
treea98a2501140df50046e4156d0939b0e5010c5d1d /scripts
parent5ce2a24649e12a087ce2a424d418262b1425ffb5 (diff)
downloadmastodon_ynh-9d612530cae529c94281cc089f13e5cf8eb56719.tar.gz
mastodon_ynh-9d612530cae529c94281cc089f13e5cf8eb56719.tar.bz2
mastodon_ynh-9d612530cae529c94281cc089f13e5cf8eb56719.zip
Update ynh_install_ruby__2
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ynh_install_ruby__21
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2
index b8de713..0488d3c 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -87,6 +87,7 @@ SOURCE_SUM=12e89bc4499e85d8babac2b02bc8b66ceb0aa3f8047b26728a3eca8a6030273d" > "
#
# Requires YunoHost version 2.7.12 or higher.
ynh_use_ruby () {
+ ruby_version=$(ynh_app_setting_get --app=$app --key=ruby_version)
# Get the absolute path of this version of Ruby
ruby_path="$ruby_version_path/$YNH_APP_INSTANCE_NAME/bin"