aboutsummaryrefslogtreecommitdiff
path: root/scripts/ynh_install_ruby__2
diff options
context:
space:
mode:
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.
#