Since ubuntu22.04 uses openssl3, the ruby3.2.2 version was installed when ruby was installed before. However, the ruby used in the rotten-potatoes project requires version 2.3.8, so you need to install ruby 2.3.8 first.
Install openssl1
To install ruby2.3.8 version, you need to install openssl1 first and enter the following command in the terminal
rvm pkg install openssl
Install ruby2.3.8
Install ruby2.3.8 using the command line (you may need to enter your login password during installation)
rvm install ruby-2.3.8
Set the default to use ruby2.3.8
Use the command line configuration to use Ruby version 2.3.8 by default (if this is the first time you install Ruby, you need to open the terminal preferences, find unnamed > Command > check Run command as login shell, and log in to the system again)
rvm install ruby-2.3.8 --default
Clone project
Clone the rotten-potatoes project using the command line