diff --git a/scripts/_common.sh b/scripts/_common.sh index 73989f2..175b7d9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -110,7 +110,7 @@ ynh_use_ruby () { ynh_ruby_load_path="PATH=$PATH" # Sets the local application-specific Ruby version - pushd $final_path + pushd $install_dir $rbenv_install_dir/bin/rbenv local $ruby_version popd }