From 74813cb51ac2793444110d099c7490d54941272d Mon Sep 17 00:00:00 2001 From: Michal Papis Date: Thu, 16 Jan 2014 09:20:45 +0100 Subject: [PATCH] fix the date check for unmaintained ruby finish date, update #2549 --- scripts/functions/manage/ruby | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/functions/manage/ruby b/scripts/functions/manage/ruby index 04ab07118e..fa2f358606 100644 --- a/scripts/functions/manage/ruby +++ b/scripts/functions/manage/ruby @@ -89,6 +89,7 @@ ruby_install_warnings() then _unmaintained_date=$(__rvm_db "unmaintained_date") if + __rvm_version_compare "$rvm_ruby_version" -eq "${_unmaintained_ruby}" && __rvm_version_compare "$(date +%F)" -lt "${_unmaintained_date}" then rvm_error "WARNING: Please be aware that you just installed a ruby that will finish normal maintenance on ${_unmaintained_date}, for a list of maintained rubies visit: