aboutsummaryrefslogtreecommitdiff
path: root/scripts/ynh_install_ruby__2
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-05-10 15:52:05 +0200
committeryalh76 <yalh@yahoo.com>2021-05-10 15:52:05 +0200
commit096eb06ef227d079841d4a27f60a918c5e037b8c (patch)
tree7c6fa30cbee71c867eaa294fc6af9dbeac8c3028 /scripts/ynh_install_ruby__2
parentf9a0796df2c8ca4d0ff84a04ca49a94bf89cad06 (diff)
downloadmastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.tar.gz
mastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.tar.bz2
mastodon_ynh-096eb06ef227d079841d4a27f60a918c5e037b8c.zip
Fix for 4.2
Diffstat (limited to 'scripts/ynh_install_ruby__2')
-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 fae1755..b12ab74 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -12,6 +12,7 @@ rbenv_install_dir="/opt/rbenv"
ruby_version_path="$rbenv_install_dir/versions"
# RBENV_ROOT is the directory of rbenv, it needs to be loaded as a environment variable.
export RBENV_ROOT="$rbenv_install_dir"
+export rbenv_root="$rbenv_install_dir"
# Load the version of Ruby for an app, and set variables.
#