From 89e24eb258b04c89bdc8c3e256572ac26e9103ac Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 May 2024 16:33:41 +0200 Subject: [PATCH] Update helpers/ruby Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> --- helpers/ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/ruby b/helpers/ruby index e0e388e22..625ded52e 100644 --- a/helpers/ruby +++ b/helpers/ruby @@ -81,7 +81,7 @@ ynh_use_ruby () { ynh_ruby_load_path="PATH=$PATH" # Sets the local application-specific Ruby version - pushd $final_path + pushd ${install_dir:-$final_path} $rbenv_install_dir/bin/rbenv local $ruby_version popd }