How can I fix the Ruby version error while installing Shopify CLI?

I have been trying to create a shopify app for about a week and every tutorial i start I get some error :slightly_smiling_face:

In my most recent attempt, I’ve tried to install the shopfy cli and get the following error.

Error installing shopify-cli:> > There are no versions of liquid (>= 5.4.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you’re looking for?> > liquid requires Ruby version >= 2.7.0. The current ruby version is 2.6.8.205

Can anybody point me to a resource on how to remedy this? I’ve researched upgrading ruby but have been unsuccessful. Also of note, i was able to install shopify-cli a month ago with no issue.

TIA