Ruby Colorize Error Help

To whom it may concern,

Hello! I have come to use Ruby because of this following blog: Fixing Invalid EDF Dates - Sleep Data - National Sleep Research Resource - NSRR

However, I have been getting the following error (In the image below) for colorize. I am not sure why and have looked at other forums that suggested that the version of Ruby might be why I have the error.


I currently have Ruby 2.7.4. I had previously owned Ruby 3.0.2. Unfortunately, I still have the same errors/result. Are there any ideas/opinions to how to fix this error? Thank You!