From 096eb06ef227d079841d4a27f60a918c5e037b8c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 10 May 2021 15:52:05 +0200 Subject: Fix for 4.2 --- scripts/ynh_install_ruby__2 | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/ynh_install_ruby__2') 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. # -- cgit v1.2.3-70-g09d2