From c883bf5a9db3d602f5f0c3e39ceebba9d65bc8a2 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Thu, 6 Oct 2022 12:25:49 +0200 Subject: [PATCH] Fix: ynh_remove_ruby --- scripts/ynh_install_ruby__2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2 index 982d0b2..6facddb 100644 --- a/scripts/ynh_install_ruby__2 +++ b/scripts/ynh_install_ruby__2 @@ -303,7 +303,7 @@ ynh_cleanup_ruby () { if [[ ! $required_ruby_versions ]] then # Remove rbenv environment configuration - ynh_print_info --message="Removing of rbenv-$rbenv_version" + ynh_print_info --message="Removing of rbenv" ynh_secure_remove --file="$rbenv_install_dir" ynh_secure_remove --file="/etc/profile.d/rbenv.sh" fi