aboutsummaryrefslogtreecommitdiff
path: root/scripts/ynh_install_ruby__2
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-05-10 21:18:45 +0200
committerGitHub <noreply@github.com>2021-05-10 21:18:45 +0200
commitacbea32d2a33e78d24b67416883618a24c6c5945 (patch)
tree7c6fa30cbee71c867eaa294fc6af9dbeac8c3028 /scripts/ynh_install_ruby__2
parent5a60edb5569e7d2bd1f063d891c4cefc6818dbec (diff)
parent096eb06ef227d079841d4a27f60a918c5e037b8c (diff)
downloadmastodon_ynh-acbea32d2a33e78d24b67416883618a24c6c5945.tar.gz
mastodon_ynh-acbea32d2a33e78d24b67416883618a24c6c5945.tar.bz2
mastodon_ynh-acbea32d2a33e78d24b67416883618a24c6c5945.zip
Merge pull request #271 from YunoHost-Apps/4.2
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.
#